PixiDom - v1.0.0
    Preparing search index...

    Type Alias LayoutLine

    type LayoutLine = {
        hardBreak: boolean;
        positions: number[];
        start: number;
        text: string;
        width: number;
        y: number;
    }
    Index

    Properties

    hardBreak: boolean

    True when the line ends at a \n or the end of the text (not a soft wrap).

    positions: number[]

    Caret x positions for this line: positions[col] for col in 0..text.length (so it always has text.length + 1 entries).

    start: number

    Index into the source text of this line's first character.

    text: string

    The line's visible text (never contains the newline).

    width: number

    Rendered width — positions[text.length].

    y: number

    Top of the line box.