PixiDom - v1.0.0
    Preparing search index...

    Type Alias MeasureGlyph

    MeasureGlyph: (char: string, prevChar: string | null) => number

    Returns the horizontal advance for char when it follows prevChar (prevChar is null at the start of a line — kerning-aware measures can use it, fixed-width measures can ignore it).

    Type Declaration

      • (char: string, prevChar: string | null): number
      • Parameters

        • char: string
        • prevChar: string | null

        Returns number