Summary
Represents a text decoration, which is a visual ornamentation that is added to text (such as an underline).
- Namespace
- Avalonia
.Media - Interfaces
-
- IAvaloniaObject
- IAvaloniaObjectDebug
- I
Notify Property Changed - IValueSink
- Base Types
-
- object
- AvaloniaObject
graph BT
Type-->Base0["AvaloniaObject"]
click Base0 "/api/Avalonia/AvaloniaObject"
Base0-->Base1["object"]
Type-.->Interface0["IAvaloniaObject"]
click Interface0 "/api/Avalonia/IAvaloniaObject"
Type-.->Interface1["IAvaloniaObjectDebug"]
click Interface1 "/api/Avalonia.Diagnostics/IAvaloniaObjectDebug"
Type-.->Interface2["INotifyPropertyChanged"]
Type-.->Interface3["IValueSink"]
Type["TextDecoration"]
class Type type-node
Syntax
public class TextDecoration : AvaloniaObject, IAvaloniaObject, IAvaloniaObjectDebug,
INotifyPropertyChanged, IValueSink
Events
Name | Type | Summary |
---|---|---|
PropertyChanged | EventHandler |
Raised when a
AvaloniaProperty value changes on this object.
Inherited from AvaloniaObject
|
Fields
Name | Constant Value | Summary |
---|---|---|
LocationProperty |
Defines the
Location property.
static
|
|
Stroke |
Defines the
StrokeDashArray property.
static
|
|
Stroke |
Defines the
StrokeDashOffset property.
static
|
|
Stroke |
Defines the
StrokeLineCap property.
static
|
|
StrokeOffsetProperty |
Defines the
StrokeOffset property.
static
|
|
Stroke |
Defines the
StrokeOffsetUnit property.
static
|
|
StrokeProperty |
Defines the
Stroke property.
static
|
|
Stroke |
Defines the
StrokeThickness property.
static
|
|
Stroke |
Defines the
StrokeThicknessUnit property.
static
|
Properties
Name | Value | Summary |
---|---|---|
InheritanceParent | IAvaloniaObject |
Gets or sets the parent object that inherited
AvaloniaProperty values
are inherited from.
Inherited from AvaloniaObject
|
Location | Text |
Gets or sets the location.
|
Stroke | IBrush |
Gets or sets the
IBrush that specifies how the TextDecoration is painted.
|
StrokeDashArray | AvaloniaList |
Gets or sets a collection of
double values that indicate the pattern of dashes and gaps
that is used to draw the TextDecoration .
|
StrokeDashOffset | double |
Gets or sets a value that specifies the distance within the dash pattern where a dash begins.
|
StrokeLineCap | PenLineCap |
Gets or sets a
PenLineCap enumeration value that describes the shape at the ends of a line.
|
StrokeOffset | double |
The stroke's offset.
|
StrokeOffsetUnit | TextDecorationUnit |
Gets the units in which the
StrokeOffset value is expressed.
|
StrokeThickness | double |
Gets or sets the thickness of the
TextDecoration .
|
StrokeThicknessUnit | TextDecorationUnit |
Gets the units in which the thickness of the
TextDecoration is expressed.
|
this[ |
object |
Gets or sets the value of a
AvaloniaProperty .
Inherited from AvaloniaObject
|
this[ |
IBinding |
Gets or sets a binding for a
AvaloniaProperty .
Inherited from AvaloniaObject
|