cupertino-files / ImageCrop
Interface: ImageCrop
Defined in: src/tsd/masks.ts:95
The crop applied to an image.
window is in image-local points: {x: 0, y: 0} shows the picture from its top-left corner. visible is the same rectangle placed in the image's parent, which is where it actually appears.
Properties
full
full:
Rect
Defined in: src/tsd/masks.ts:99
The uncropped image's frame in its parent, for reference.
isRectangular
isRectangular:
boolean
Defined in: src/tsd/masks.ts:101
False for instant-alpha and shape crops, which this module leaves alone.
visible
visible:
Rect
Defined in: src/tsd/masks.ts:97
window
window:
Rect
Defined in: src/tsd/masks.ts:96