ImmutableTextDecoration Class
Definition
An immutable representation of a Avalonia.Media.TextDecoration.
public class ImmutableTextDecoration
Constructors
| Name | Description |
|---|---|
| ImmutableTextDecoration | No summary available. |
ImmutableTextDecoration Constructor
public ImmutableTextDecoration(Avalonia.Media.TextDecorationLocation location, Avalonia.Media.Immutable.ImmutablePen pen, Avalonia.Media.TextDecorationUnit penThicknessUnit, double penOffset, Avalonia.Media.TextDecorationUnit penOffsetUnit)
Parameters
location Avalonia.Media.TextDecorationLocation
pen Avalonia.Media.Immutable.ImmutablePen
penThicknessUnit Avalonia.Media.TextDecorationUnit
penOffset double
penOffsetUnit Avalonia.Media.TextDecorationUnit
Properties
| Name | Description |
|---|---|
| Location | Gets or sets the location. |
| Pen | Gets or sets the pen. |
| PenOffset | Gets or sets the pen offset. |
| PenOffsetUnit | Gets the units in which the Avalonia.Media.Immutable.ImmutableTextDecoration.PenOffset value is expressed. |
| PenThicknessUnit | Gets the units in which the Thickness of the text decoration's Avalonia.Media.Immutable.ImmutableTextDecoration.Pen is expressed. |
Location Property
Gets or sets the location.
public Avalonia.Media.TextDecorationLocation Location { get; set; }
Value
The location.
Pen Property
Gets or sets the pen.
public Avalonia.Media.Immutable.ImmutablePen Pen { get; set; }
Value
The pen.
PenOffset Property
Gets or sets the pen offset.
public double PenOffset { get; set; }
Value
The pen offset.
PenOffsetUnit Property
Gets the units in which the Avalonia.Media.Immutable.ImmutableTextDecoration.PenOffset value is expressed.
public Avalonia.Media.TextDecorationUnit PenOffsetUnit { get; set; }
PenThicknessUnit Property
Gets the units in which the Thickness of the text decoration's Avalonia.Media.Immutable.ImmutableTextDecoration.Pen is expressed.
public Avalonia.Media.TextDecorationUnit PenThicknessUnit { get; set; }