TextHitTestResult Structure

Holds a hit test result from a TextLayout.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public readonly struct TextHitTestResult : IEquatable<TextHitTestResult>
Inheritance
Object    ValueType    TextHitTestResult
Implements
IEquatableTextHitTestResult

Properties

CharacterHit Gets the character hit of the hit test result.
IsInside Gets a value indicating whether the point is inside the bounds of the text.
IsTrailing Gets a value indicating whether the hit is on the trailing edge of the character.
TextPosition Gets the index of the hit character in the text.

Methods

GetTypeGets the Type of the current instance.
(Inherited from Object)

See Also