enum HarfBuzz::PaintExtendT

Overview

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

See the OpenType spec COLR section for details.

Defined in:

lib/gi-crystal/src/auto/harf_buzz-0.0/harf_buzz.cr

Enum Members

Pad = 0_u32

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

Repeat = 1_u32

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

Reflect = 2_u32

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.

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Instance Method Detail

def pad? #

def reflect? #

def repeat? #