Table of Contents

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

FlowDirection

Rectangle

Bounds rectangle

public Rect Rectangle { get; }

Property Value

Rect

TextRunBounds

Get a list of run bounding rectangles

public IList<TextRunBounds> TextRunBounds { get; }

Property Value

IList<TextRunBounds>

Array of text run bounds