harfbuzzjs
    Preparing search index...

    Variable ColorPaletteFlagsConst

    ColorPaletteFlags: {
        DEFAULT: 0;
        USABLE_WITH_DARK_BACKGROUND: 2;
        USABLE_WITH_LIGHT_BACKGROUND: 1;
    } = ...

    Flags that describe the properties of a color palette.

    Type Declaration

    • ReadonlyDEFAULT: 0

      Default indicating that there is nothing special to note about a color palette.

    • ReadonlyUSABLE_WITH_DARK_BACKGROUND: 2

      Flag indicating that the color palette is appropriate to use when displaying the font on a dark background such as black.

    • ReadonlyUSABLE_WITH_LIGHT_BACKGROUND: 1

      Flag indicating that the color palette is appropriate to use when displaying the font on a light background such as white.