Interface DrawPolygonOnMaskOptions

interface DrawPolygonOnMaskOptions {
    filled?: boolean;
    origin?: Point;
    out?: Mask;
}

Hierarchy

Properties

Properties

filled?: boolean

Fill polygon.

origin?: Point

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

Default

{row: 0, column: 0}

out?: Mask

Mask to which the resulting image has to be put.