Docsv3.31.0
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 (PaintRef.color).

public static readonly PaintRefKind Swatch = 2

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