colorLineGetColorStops

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

colorLine harfbuzz.color_line.ColorLine

a #hb_color_line_t object

start uint

the index of the first color stop to return

colorStops harfbuzz.color_stop.ColorStop[]

Array of #hb_color_stop_t to populate

Return Value

Type: uint

the total number of color stops in color_line