ImageJS
    Preparing search index...

    Interface DrawLineOnImageOptions

    interface DrawLineOnImageOptions {
        origin?: Point;
        out?: Image;
        strokeColor?: number[];
    }
    Index

    Properties

    origin?: Point

    Origin of the line 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[]

    Color of the line - An array of numerical values, one for each channel of the image. If less values are defined than there are channels in the image, the remaining channels will be set to 0.

    A black pixel.