ImageJS
    Preparing search index...

    Interface DrawTextLabel

    interface DrawTextLabel {
        content: string | number;
        font?: string;
        fontColor?: number[];
        position: Point;
    }
    Index

    Properties

    content: string | number

    Text of the label.

    font?: string

    Size and type of font. If specified, this overrides the general font from DrawTextOptions.

    fontColor?: number[]

    Font color. Should be in rgba8 format. If specified, this overrides the general fontColor from DrawTextOptions.

    position: Point

    Position to draw the label at.