tinyimg - v1.1.1
    Preparing search index...

    Interface TextLine

    One line of a measured run. Mirrors TinyTextLine.

    interface TextLine {
        at: number;
        baseline: number;
        clipped: boolean;
        ellipsized: boolean;
        glyphs: number;
        length: number;
        missing: number;
        width: number;
        x: number;
        y: number;
    }
    Index
    at: number

    Byte offset of the line's first character.

    baseline: number

    Baseline, measured down from the top of the run.

    clipped: boolean

    The box's height stopped this line being drawn.

    ellipsized: boolean

    This line was cut short and ends in an ellipsis.

    glyphs: number

    Codepoints the line holds.

    length: number

    Bytes the line holds.

    missing: number

    Codepoints no face in the chain had a glyph for.

    width: number

    Advance width in pixels.

    x: number

    Left edge once the alignment is applied.

    y: number

    Top edge of the line box.