Class TextDecorationOptions
Represents overrides for the geometry of a single text decoration line, allowing a TextRun to replace the values that would otherwise be derived from the font metrics.
public class TextDecorationOptions
- Inheritance
-
TextDecorationOptions
- Inherited Members
Remarks
Values are expressed in device pixels. Any property left null falls back to the font's metric-derived value. Further overrides (for example a position override) can be added as new nullable properties without changing the GetDecorationOptions(TextDecorations) contract.
Properties
Thickness
Gets or sets the thickness of the decoration line, in device pixels, or null to use the font's metric-derived thickness.
public float? Thickness { get; set; }