rmapi-js
    Preparing search index...

    Interface GlyphRange

    a highlighted run of underlying text

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

    Properties

    color: number

    the raw color code

    colorRgba?: number

    a packed little-endian uint32 color (RGBA channels, BGRA byte order), if present

    length: number

    the length of the range

    rectangles: Rectangle[]

    the bounding rectangles of the highlight

    start?: number

    the start offset into the underlying text, if present

    text: string

    the highlighted text