rmapi-js
    Preparing search index...

    Interface NewHighlight

    a highlight to add

    interface NewHighlight {
        color: number;
        colorRgba?: number;
        length?: number;
        rectangles: Rectangle[];
        start?: number;
        text: string;
    }
    Index
    color: number

    the color code, named by Color

    colorRgba?: number

    the color as 0xAARRGGBB

    length?: number

    the length of the range

    rectangles: Rectangle[]

    the rectangles it covers

    start?: number

    the offset into the underlying text

    text: string

    the highlighted text