harfbuzzjs
    Preparing search index...

    Type Alias PaintColorGlyphFunc

    PaintColorGlyphFunc: (
        glyph: number,
        font: Font,
        paintData: unknown,
        userData: unknown,
    ) => boolean

    A callback to render a color glyph by glyph index.

    Type Declaration

      • (glyph: number, font: Font, paintData: unknown, userData: unknown): boolean
      • Parameters

        Returns boolean

        true if the glyph was painted, false otherwise.