Class ImmutableTextDecoration
An immutable representation of a TextDecoration.
public class ImmutableTextDecoration
- Inheritance
-
ImmutableTextDecoration
- Inherited Members
Constructors
ImmutableTextDecoration(TextDecorationLocation, ImmutablePen, TextDecorationUnit, double, TextDecorationUnit)
public ImmutableTextDecoration(TextDecorationLocation location, ImmutablePen pen, TextDecorationUnit penThicknessUnit, double penOffset, TextDecorationUnit penOffsetUnit)
Parameters
location
TextDecorationLocationpen
ImmutablePenpenThicknessUnit
TextDecorationUnitpenOffset
doublepenOffsetUnit
TextDecorationUnit
Properties
Location
Gets or sets the location.
public TextDecorationLocation Location { get; }
Property Value
- TextDecorationLocation
The location.
Pen
Gets or sets the pen.
public ImmutablePen Pen { get; }
Property Value
- ImmutablePen
The pen.
PenOffset
Gets or sets the pen offset.
public double PenOffset { get; }
Property Value
- double
The pen offset.
PenOffsetUnit
Gets the units in which the PenOffset value is expressed.
public TextDecorationUnit PenOffsetUnit { get; }
Property Value
PenThicknessUnit
Gets the units in which the Thickness of the text decoration's Pen is expressed.
public TextDecorationUnit PenThicknessUnit { get; }