Summary
A text run that supports drawing content.
- Namespace
- Avalonia
.Media .TextFormatting - Base Types
-
- object
- TextRun
- Derived Types
graph BT
Type-->Base0["TextRun"]
click Base0 "/api/Avalonia.Media.TextFormatting/TextRun"
Base0-->Base1["object"]
Type["DrawableTextRun"]
class Type type-node
Derived0["ShapedTextCharacters"]-->Type
click Derived0 "/api/Avalonia.Media.TextFormatting/ShapedTextCharacters"
Syntax
public abstract class DrawableTextRun : TextRun
Fields
Name | Constant Value | Summary |
---|---|---|
Default |
Inherited from TextRun
static
|
Properties
Name | Value | Summary |
---|---|---|
Properties | TextRunProperties |
A set of properties shared by every characters in the run
Inherited from TextRun
|
Size | Size |
Gets the size.
|
Text | ReadOnlySlice |
Gets the text run's text.
Inherited from TextRun
|
TextSourceLength | int |
Gets the text source length.
Inherited from TextRun
|
Methods
Name | Value | Summary |
---|---|---|
Draw |
void |
Draws the
DrawableTextRun at the given origin.
|