ImageJS
    Preparing search index...

    Interface DrawPolygonOnImageOptions

    interface DrawPolygonOnImageOptions {
        fillColor?: number[];
        origin?: Point;
        out?: Image;
        strokeColor?: number[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    fillColor?: number[]

    Fill color - array of N elements (e.g. R, G, B or G, A), N being the number of channels.

    A black pixel.
    
    origin?: Point

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

    {row: 0, column: 0}

    out?: Image

    Image to which the resulting image has to be put.

    strokeColor?: number[]

    Line color - array of N elements (e.g. R, G, B or G, A), N being the number of channels.

    A black pixel.