ImageJS
    Preparing search index...

    Interface CropOptions

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

    Properties

    height?: number

    Specify the width of the cropped image.

    image.height

    origin?: Point

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

    {row: 0, column: 0}

    width?: number

    Specify the width of the cropped image.

    image.width