harfbuzzjs
    Preparing search index...

    Variable PaintExtendConst

    PaintExtend: { PAD: 0; REFLECT: 2; REPEAT: 1 } = ...

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

    See the OpenType spec COLR section for details.

    Type Declaration

    • ReadonlyPAD: 0

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

    • ReadonlyREFLECT: 2

      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.

    • ReadonlyREPEAT: 1

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