Summary
A text run that holds shaped characters.
- Namespace
- Avalonia
.Media .TextFormatting - Base Types
-
- object
- TextRun
- DrawableTextRun
graph BT
Type-->Base0["DrawableTextRun"]
click Base0 "/api/Avalonia.Media.TextFormatting/DrawableTextRun"
Base0-->Base1["TextRun"]
click Base1 "/api/Avalonia.Media.TextFormatting/TextRun"
Base1-->Base2["object"]
Type["ShapedTextCharacters"]
class Type type-node
Syntax
public sealed class ShapedTextCharacters : DrawableTextRun
Constructors
Name | Summary |
---|---|
ShapedTextCharacters |
Fields
Name | Constant Value | Summary |
---|---|---|
Default |
Inherited from TextRun
static
|
Properties
Name | Value | Summary |
---|---|---|
FontMetrics | FontMetrics |
Gets the font metrics.
|
GlyphRun | GlyphRun |
Gets the glyph run.
|
Properties | TextRunProperties |
A set of properties shared by every characters in the run
|
Size | Size |
Gets the size.
|
Text | ReadOnlySlice |
Gets the text run's text.
|
TextSourceLength | int |
Gets the text source length.
|
Methods
Name | Value | Summary |
---|---|---|
Draw |
void |
Draws the
DrawableTextRun at the given origin.
|
Split |
ShapedTextCharacters |
Splits the
TextRun at specified length.
|