Search Docs
Loading...
Skip to content

Interface: TextDecorationConfig

Configuration for text decoration rendering.

Properties#

Property Type Description
lines TextDecorationLine[] The active decoration line types. Use ['None'] to clear all decorations. When 'None' is present, all other values are ignored.
style? TextDecorationStyle The style of the decoration lines. Defaults to ‘Solid’.
underlineColor? Color Override color for underlines (only).
underlineThickness? number Multiplier on the font-derived underline thickness. Default 1.0.
underlineOffset? number Relative offset multiplier for the underline position.
skipInk? boolean When true, underlines skip glyph descenders. Default true.