CharacterHit Structure

Represents information about a character hit within a glyph run.

Definition

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

Remarks

The CharacterHit structure provides information about the index of the first character that got hit as well as information about leading or trailing edge.

Properties

FirstCharacterIndex Gets the index of the first character that got hit.
TrailingLength Gets the trailing length value for the character that got hit.

Methods

Equals(CharacterHit) 
Equals(Object)
(Overrides ValueTypeEquals(Object))
GetHashCode
(Overrides ValueTypeGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)

Operators

See Also