Summary
Represents information about a character hit within a glyph run.
- Namespace
- Avalonia
.Media - Interfaces
-
- IEquatable
<CharacterHit>
- IEquatable
- Base Types
-
- object
- ValueType
graph BT
Type-->Base0["ValueType"]
Base0-->Base1["object"]
Type-.->Interface0["IEquatable<CharacterHit>"]
Type["CharacterHit"]
class Type type-node
Syntax
[DebuggerDisplay("CharacterHit({FirstCharacterIndex}, {TrailingLength})")]
public readonly struct CharacterHit : ValueType, 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.
Attributes
Type | Description |
---|---|
Debugger |
Constructors
Name | Summary |
---|---|
CharacterHit |
Initializes a new instance of the CharacterHit structure.
|
Properties
Name | Value | Summary |
---|---|---|
FirstCharacterIndex | int |
Gets the index of the first character that got hit.
|
TrailingLength | int |
Gets the trailing length value for the character that got hit.
|
Methods
Name | Value | Summary |
---|---|---|
Equals |
bool | |
Equals |
bool | |
GetHashCode |
int |
Operators
Name | Value | Summary |
---|---|---|
operator != |
bool | |
operator == |
bool |