skia
    Preparing search index...

    Interface GlyphRun

    Information for a run of shaped text. See Paragraph.getShapedLines()

    Notes: positions is documented as Float32, but it holds twice as many as you expect, and they are treated logically as pairs of floats: {x0, y0}, {x1, y1}, ... for each glyph.

    positions and offsets arrays have 1 extra slot (actually 2 for positions) to describe the location "after" the last glyph in the glyphs array.

    interface GlyphRun {
        fakeBold: boolean;
        fakeItalic: boolean;
        flags: number;
        glyphs: Uint16Array;
        offsets: Uint32Array;
        positions: Float32Array;
        size: number;
        typeface: Typeface;
    }
    Index

    Properties

    fakeBold: boolean
    fakeItalic: boolean
    flags: number
    glyphs: Uint16Array
    offsets: Uint32Array
    positions: Float32Array
    size: number
    typeface: Typeface