docx
    Preparing search index...

    Type Alias ICropOptions

    Options for cropping an image.

    Each value is a percentage (0-100) of the image dimension to crop away from the given edge. For example, { left: 10 } crops 10% off the left side of the image.

    type ICropOptions = {
        bottom?: number;
        left?: number;
        right?: number;
        top?: number;
    }
    Index
    bottom?: number

    Percentage (0-100) of the image height to crop from the bottom edge.

    left?: number

    Percentage (0-100) of the image width to crop from the left edge.

    right?: number

    Percentage (0-100) of the image width to crop from the right edge.

    top?: number

    Percentage (0-100) of the image height to crop from the top edge.