Class TextBounds
- Namespace
- Avalonia.Media.TextFormatting
- Assembly
- Avalonia.Base.dll
The bounding rectangle of a range of characters
public sealed class TextBounds
- Inheritance
-
TextBounds
- Inherited Members
Properties
FlowDirection
Text flow direction inside the boundary rectangle
public FlowDirection FlowDirection { get; }
Property Value
Rectangle
Bounds rectangle
public Rect Rectangle { get; }
Property Value
TextRunBounds
Get a list of run bounding rectangles
public IList<TextRunBounds> TextRunBounds { get; }
Property Value
- IList<TextRunBounds>
Array of text run bounds