colorLineGetColorStops

fnuint colorLineGetColorStops(harfbuzz.color_line.ColorLine colorLine, uint start, ref harfbuzz.types.ColorStop[] colorStops)

Fetches a list of color stops from the given color line object.

Note that due to variations being applied, the returned color stops may be out of order. It is the callers responsibility to ensure that color stops are sorted by their offset before they are used.

Parameters

colorLinea #hb_color_line_t object
startthe index of the first color stop to return
colorStopsArray of #hb_color_stop_t to populate

Returns

the total number of color stops in color_line