CharacterHit Структура

Определение

Represents information about a character hit within a glyph run.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)
Наследование
CharacterHit
Реализации

Комментарии

Структура CharacterHit предоставляет сведения об индексе первого символа, который был нажат, а также сведения о начальном или завершающем крае.The CharacterHit structure provides information about the index of the first character that got hit as well as information about leading or trailing edge.

Конструкторы

CharacterHit(Int32, Int32)

Initializes a new instance of the CharacterHit structure.Initializes a new instance of the CharacterHit structure.

Свойства

FirstCharacterIndex

Gets the index of the first character that got hit.Gets the index of the first character that got hit.

TrailingLength

Gets the trailing length value for the character that got hit.Gets the trailing length value for the character that got hit.

Методы

Equals(CharacterHit)

Determines whether the CharacterBufferReference is equal to the current CharacterBufferReference object.Determines whether the CharacterBufferReference is equal to the current CharacterBufferReference object.

Equals(Object)

Determines whether the specified object is equal to the current CharacterBufferReference object.Determines whether the specified object is equal to the current CharacterBufferReference object.

GetHashCode()

Serves as a hash function for CharacterBufferReference.Serves as a hash function for CharacterBufferReference. It is suitable for use in hashing algorithms and data structures such as a hash table.It is suitable for use in hashing algorithms and data structures such as a hash table.

Операторы

Equality(CharacterHit, CharacterHit)

Compare two CharacterBufferReference strings for equality.Compare two CharacterBufferReference strings for equality.

Inequality(CharacterHit, CharacterHit)

Compare two CharacterBufferReference strings for inequality.Compare two CharacterBufferReference strings for inequality.

Применяется к

Дополнительно