harfbuzzjs
    Preparing search index...

    Interface ColorLayer

    Pairs of glyph and color index.

    A color index of undefined does not refer to a palette color, but indicates that the foreground color should be used.

    interface ColorLayer {
        colorIndex?: number;
        glyph: number;
    }
    Index

    Properties

    Properties

    colorIndex?: number

    The palette color index of the layer.

    glyph: number

    The glyph ID of the layer.