Interface CropOptions

interface CropOptions {
    height?: number;
    origin?: Point;
    width?: number;
}

Properties

height?: number

Specify the width of the cropped image.

Default

image.height

origin?: Point

Origin of the crop relative to a parent image (top-left corner).

Default

{row: 0, column: 0}

width?: number

Specify the width of the cropped image.

Default

image.width