TextRunBounds Struct
Definition
The bounding rectangle of text run
public struct TextRunBounds
Methods
| Name | Description |
|---|---|
| Equals (2 overloads) | No summary available. |
| GetHashCode | No summary available. |
| ToString | No summary available. |
Equals overloads
Equals Method
public bool Equals(Avalonia.Media.TextFormatting.TextRunBounds other)
Parameters
other Avalonia.Media.TextFormatting.TextRunBounds
Returns
bool
Equals Method
public bool Equals(object obj)
Parameters
obj object
Returns
bool
GetHashCode Method
public int GetHashCode()
Returns
int
ToString Method
public string ToString()
Returns
string
Properties
| Name | Description |
|---|---|
| Length | character length of bounded text run |
| Rectangle | Text run bounding rectangle |
| TextRun | text run |
| TextSourceCharacterIndex | First text source character index of text run |
Length Property
character length of bounded text run
public int Length { get; set; }
Rectangle Property
Text run bounding rectangle
public Avalonia.Rect Rectangle { get; set; }
TextRun Property
text run
public Avalonia.Media.TextFormatting.TextRun TextRun { get; set; }
TextSourceCharacterIndex Property
First text source character index of text run
public int TextSourceCharacterIndex { get; set; }