CharacterHit Estructura
Definición
Representa información sobre un acierto del carácter dentro de una ejecución del glifo.Represents information about a character hit within a glyph run.
public value class CharacterHit : IEquatable<System::Windows::Media::TextFormatting::CharacterHit>
public struct CharacterHit : IEquatable<System.Windows.Media.TextFormatting.CharacterHit>
type CharacterHit = struct
Public Structure CharacterHit
Implements IEquatable(Of CharacterHit)
- Herencia
- Implementaciones
Comentarios
La CharacterHit estructura proporciona información sobre el índice del primer carácter que se ha alcanzado, así como información sobre el borde inicial o final.The CharacterHit structure provides information about the index of the first character that got hit as well as information about leading or trailing edge.
Constructores
CharacterHit(Int32, Int32) |
Inicializa una nueva instancia de la estructura CharacterHit.Initializes a new instance of the CharacterHit structure. |
Propiedades
FirstCharacterIndex |
Obtiene el índice del primer carácter que obtuvo el acierto.Gets the index of the first character that got hit. |
TrailingLength |
Obtiene el valor de longitud final del carácter que obtuvo el acierto.Gets the trailing length value for the character that got hit. |
Métodos
Equals(CharacterHit) |
Determina si el objeto CharacterBufferReference es igual al objeto CharacterBufferReference actual.Determines whether the CharacterBufferReference is equal to the current CharacterBufferReference object. |
Equals(Object) |
Determina si el objeto especificado es igual al objeto CharacterBufferReference actual.Determines whether the specified object is equal to the current CharacterBufferReference object. |
GetHashCode() |
Sirve como función hash de CharacterBufferReference.Serves as a hash function for CharacterBufferReference. Es adecuado para usarlo en algoritmos hash y en estructuras de datos, como las tablas hash.It is suitable for use in hashing algorithms and data structures such as a hash table. |
Operadores
Equality(CharacterHit, CharacterHit) |
Compara dos cadenas CharacterBufferReference para ver si son iguales.Compare two CharacterBufferReference strings for equality. |
Inequality(CharacterHit, CharacterHit) |
Compara dos cadenas CharacterBufferReference para ver si no son iguales.Compare two CharacterBufferReference strings for inequality. |