Back to API Reference
Interface
IMarkupValue
abstract
A serializable parameter value with a custom single-token markup form. Implement on a struct used as a ParameterAttribute field so the inspector and markup round-trip it through one token (e.g. a colour-or-swatch, or a mode-plus-value union). The editor discovers this by interface, so a user-defined modifier can add its own parameter types without touching the package. Simple types (numbers, enums, colours, UnitValue) don't need this — they round-trip generically.
Implementations(3)
Types that implement IMarkupValue.
SSS
ItalicStyle
Italic choice: a mode plus, for [[Synthetic]], a shear angle. Serializes to a single markup token — empty for auto, the angle for synthetic, f for font-slant, r for real-only.
PaintRef
A paint layer's paint choice: an inline colour, a named provider swatch, or the layer default. This is the authored value on the modifier (and the default when markup omits the paint); the resolved runtime appearance is [[TextPaint]].
SpriteColorRef
An inline sprite's colour choice: its own, the component's, or an explicit override. Serializes to a single markup token — empty for original, i for inherit, #RRGGBBAA for override.
