ElectronNativeImage.crop method
ElectronNativeImage › crop
Unofficial
Returns a cropped copy of the image.Signature:
crop(rect: ElectronRectangle): ElectronNativeImageParameters:
| Parameter | Type | Description |
|---|---|---|
| rect | ElectronRectangle | The area of the image to crop. |
Returns: ElectronNativeImage — The cropped image.