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.

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

Constructors

Properties

color: number
is_foreground: number
offset: number