Interface FloodFillOptions

interface FloodFillOptions {
    allowCorners?: boolean;
    origin?: Point;
    out?: Mask;
}

Properties

allowCorners?: boolean

Consider pixels connected by corners?

Default

false

origin?: Point

Origin for the algorithm relative to the top-left corner of the image.

Default

{row: 0, column: 0}

out?: Mask

Specify the output image.