Interface DrawPointsOptions

interface DrawPointsOptions {
    color?: number[];
    origin?: Point;
    out?: Image | Mask;
}

Properties

Properties

color?: number[]

Color of the points. Should be an array of N elements (e.g. R, G, B or G, A), N being the number of channels.

Default

A black pixel.
origin?: Point

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

Default

{row: 0, column: 0}

out?: Image | Mask

Image to which the resulting image has to be put.