rmapi-js
    Preparing search index...

    Interface HighlightFragment

    one line of a highlighted passage

    interface HighlightFragment {
        color: number;
        length: number;
        rects: HighlightRect[];
        start: number;
        text: string;
        [key: string]: Json | HighlightRect[];
    }

    Indexable

    Index
    color: number

    the color code, named by Color

    length: number

    the number of characters

    rects: HighlightRect[]

    the rectangles it covers

    start: number

    the character offset in the page's text

    text: string

    the highlighted text