TextBounds Class
Definition
The bounding rectangle of a range of characters
public class TextBounds
Properties
| Name | Description |
|---|---|
| FlowDirection | Text flow direction inside the boundary rectangle |
| Rectangle | Bounds rectangle |
| TextRunBounds | Get a list of run bounding rectangles |
FlowDirection Property
Text flow direction inside the boundary rectangle
public Avalonia.Media.FlowDirection FlowDirection { get; set; }
Rectangle Property
Bounds rectangle
public Avalonia.Rect Rectangle { get; set; }
TextRunBounds Property
Get a list of run bounding rectangles
public System.Collections.Generic.IList<Avalonia.Media.TextFormatting.TextRunBounds> TextRunBounds { get; set; }
Returns
Array of text run bounds