The instructions for optionally cropping an image. If no cropping is desired, set the dimensions to the original image size. If the image is cropped and no offset values are provided, then the coordinates of the top left corner of the cropped image, relative to the original image, are defaulted to (0,0).

ImageCropSpecification

interface ImageCropSpecification {
    offset?: ImageOffsets;
    size: ImageDimensions;
}

Properties

Properties

offset?: ImageOffsets

ImageCropSpecification

ImageCropSpecification