Back to API Reference
Enum

PaintMapping

Frame a gradient/texture is mapped against — how the paint spreads over the text.

public static readonly PaintMapping Inherit = 0

No value at this layer — resolves down the override chain (tag → default parameters → modifier field → swatch); a fully unresolved chain means Block.

public static readonly PaintMapping Block = 1

One mapping across the whole text block.

public static readonly PaintMapping Line = 2

Restarts per line.

public static readonly PaintMapping Glyph = 3

Restarts per glyph.

public static readonly PaintMapping Range = 4

Spans the styled range the paint was applied to.