Back to API Reference
Enum

PaintRefKind

Which source a PaintRef draws from.

public static readonly PaintRefKind Default = 0

No paint chosen — the layer applies its own default (inherit the text fill, or a built-in colour).

public static readonly PaintRefKind Color = 1

An inline solid colour (color).

public static readonly PaintRefKind Swatch = 2

A named swatch (swatch) resolved through the layer's paint provider — may be solid, gradient, or texture.