meo-skia-canvas
    Preparing search index...

    Interface TextMetricsLine

    🧪 Not in the HTML Canvas standard.

    interface TextMetricsLine {
        alphabeticBaseline: number;
        ascent: number;
        baseline: number;
        descent: number;
        endIndex: number;
        hangingBaseline: number;
        height: number;
        ideographicBaseline: number;
        runs: TextMetricsRun[];
        startIndex: number;
        width: number;
        x: number;
        y: number;
    }
    Index
    alphabeticBaseline: number

    Vertical position of alphabetic baseline (irrespective of current textBaseline setting)

    ascent: number

    Vertical position of highest ascent for all fonts used in line

    baseline: number

    Vertical position of currently selected textBaseline

    descent: number

    Vertical position of lowest descent for all fonts used in line

    endIndex: number

    Character index into source string of the end of this line

    hangingBaseline: number

    Vertical position of hanging baseline (irrespective of current textBaseline setting)

    height: number

    Height of line bounding box

    ideographicBaseline: number

    Vertical position of ideographic baseline (irrespective of current textBaseline setting)

    Array of dimensions & metrics for each single-font subsection of the line

    startIndex: number

    Character index into source string of the beginning of this line

    width: number

    Width of line bounding box

    x: number

    Left edge of line bounding box

    y: number

    Top edge of line bounding box