Glyphs.ColorFontPaletteIndex Property

Definition

Gets or sets the index of the palette to use for the color font.

public:
 property int ColorFontPaletteIndex { int get(); void set(int value); };
int ColorFontPaletteIndex();

void ColorFontPaletteIndex(int value);
public int ColorFontPaletteIndex { get; set; }
var int32 = glyphs.colorFontPaletteIndex;
glyphs.colorFontPaletteIndex = int32;
Public Property ColorFontPaletteIndex As Integer

Property Value

Int32

int

The index of the palette to use for the color font.

Remarks

If IsColorFontEnabled is false, the ColorFontPaletteIndex is ignored.

Color fonts can have different color palettes that specify the colors of the layers in the font. You can set the ColorFontPaletteIndex value to specify which palette to use. If the specified value isn't valid for the font, color is disabled.

Applies to