Class (GI Struct)

HarfBuzz-0.0HarfBuzzcolor_stop_tSince 7.0.0

Information about a color stop on a color line.

Color lines typically have offsets ranging between 0 and 1, but that is not required.

The is_foreground and color fields have the same semantics as in HarfBuzz.paint_color_func_t.

Note: despite color being unpremultiplied here, interpolation in gradients shall happen in premultiplied space. See the OpenType spec COLR section for details.

7.0.0

Index
color: number
is_foreground: number
offset: number