TextRun Class
Definition
Represents a portion of a Avalonia.Media.TextFormatting.TextLine object.
public class TextRun
Properties
| Name | Description |
|---|---|
| Length | Gets the text source length. |
| Properties | A set of properties shared by every characters in the run |
| Text | Gets the text run's text. |
Length Property
Gets the text source length.
public int Length { get; set; }
Properties Property
A set of properties shared by every characters in the run
public Avalonia.Media.TextFormatting.TextRunProperties Properties { get; set; }
Text Property
Gets the text run's text.
public ReadOnlyMemory<char> Text { get; set; }
Fields
| Name | Description |
|---|---|
| DefaultTextSourceLength | No summary available. |
DefaultTextSourceLength Field
public int DefaultTextSourceLength