Interface TransformOptions

interface TransformOptions {
    borderType?: BorderType;
    borderValue?: number;
    fullImage?: boolean;
    height?: number;
    interpolationType?: InterpolationType;
    inverse?: boolean;
    width?: number;
}

Hierarchy

Properties

borderType?: BorderType

Specify how the borders should be handled.

Default

'constant'

borderValue?: number

Value of the border if BorderType is 'constant'.

Default

0

fullImage?: boolean

Bypasses width and height options to include every pixel of the original image inside the transformed image.

height?: number

Height of the output image.

interpolationType?: InterpolationType

Method to use to interpolate the new pixels.

Default

'bilinear'

inverse?: boolean

Whether the transform matrix should be inverted.

width?: number

Width of the output image.