paint_extend_t

Added in version 7.0.0.

class paint_extend_t

The values of this enumeration determine how color values outside the minimum and maximum defined offset on a color_line_t are determined.

See the OpenType spec COLR section for details.

Fields

class paint_extend_t
PAD

Outside the defined interval, the color of the closest color stop is used.

REFLECT

The color line is repeated over repeated intervals, as for the repeat mode. However, in each repeated interval, the ordering of color stops is the reverse of the adjacent interval.

REPEAT

The color line is repeated over repeated multiples of the defined interval