mwg API
    Preparing search index...

    Interface MarkupLayout

    interface MarkupLayout {
        align?: MarkupAlign;
        direction?: MarkupDirection;
        lineHeight: number;
        maxWidth: number;
        measure: MarkupMeasure;
    }
    Index
    align?: MarkupAlign

    line alignment; defaults to 'right' in rtl, 'left' otherwise

    direction?: MarkupDirection

    flow direction; defaults to 'ltr'

    lineHeight: number

    distance between baselines

    maxWidth: number

    the wrap width the lines were laid out against, used to align each shorter line within it

    measure: MarkupMeasure

    measures a piece under its own style, the same function layoutMarkupLines was given