Skip to main content

TextRunBounds Structure

The bounding rectangle of text run

Definition

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public readonly struct TextRunBounds : IEquatable<TextRunBounds>
View Source
InheritanceObjectValueType → TextRunBounds
ImplementsIEquatable(TextRunBounds)

Properties

Lengthcharacter length of bounded text run
RectangleText run bounding rectangle
TextRuntext run
TextSourceCharacterIndexFirst text source character index of text run

Methods

GetType()Gets the Type of the current instance.
(Inherited from Object)

See Also

Reference

Avalonia.Media.TextFormatting Namespace