CharacterHit Structure
Represents information about a character hit within a glyph run.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public readonly struct CharacterHit : IEquatable<CharacterHit>
Public Structure CharacterHit
Implements IEquatable(Of CharacterHit)
[<SealedAttribute>]
type CharacterHit =
struct
inherit ValueType
interface IEquatable<CharacterHit>
end
| Inheritance | Object → ValueType → CharacterHit |
| Implements | IEquatable(CharacterHit) |
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.
Constructors
| CharacterHit(Int32, Int32) | Initializes a new instance of the CharacterHit structure. |
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 ValueType.Equals(Object)) |
| GetHashCode() | (Overrides ValueType.GetHashCode()) |
| GetType() | Gets the Type of the current instance. (Inherited from Object) |
| ToString() | Returns the fully qualified type name of this instance. (Inherited from ValueType) |
Operators
| Equality(CharacterHit, CharacterHit) | |
| Inequality(CharacterHit, CharacterHit) |