Function

HarfBuzz-0.0HarfBuzzpaint_custom_palette_colorSince 7.0.0

  • Gets the custom palette override color for color_index.

    Parameters

    • funcs: paint_funcs_t

      paint functions.

    • paint_data: any

      associated data passed by the caller.

    • color_index: number

      color index to fetch.

    Returns [number, number]

    true if a custom color is provided, false otherwise.

    7.0.0