mwg API
    Preparing search index...

    Interface PositionedMarkupSpan

    One run of a laid-out line, already measured and placed.

    interface PositionedMarkupSpan {
        span: MarkupSpan;
        width: number;
        x: number;
        y: number;
    }
    Index

    the span this run draws; image is set for an image run, text otherwise

    width: number

    the measured width of this run

    x: number

    left edge of the run, in the same coordinate space the line was measured in

    y: number

    top edge of the run's line