Skip to main content

GlyphRun Methods

Methods

BuildGeometry()Obtains geometry for the glyph run.
Dispose() 
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
FindGlyphIndex(Int32)Finds a glyph index for given character index.
FindNearestCharacterHit(Int32, Double)Finds the nearest CharacterHit at given index.
GetCharacterHitFromDistance(Double, Boolean)Retrieves the CharacterHit value that represents the character hit of the caret of the GlyphRun.
GetDistanceFromCharacterHit(CharacterHit)Retrieves the offset from the leading edge of the GlyphRun to the leading or trailing edge of a caret stop containing the specified character hit.
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetIntersections(Single, Single)Gets the intersections of specified upper and lower limit.
GetNextCaretCharacterHit(CharacterHit)Retrieves the next valid caret character hit in the logical direction in the GlyphRun.
GetPreviousCaretCharacterHit(CharacterHit)Retrieves the previous valid caret character hit in the logical direction in the GlyphRun.
GetType()Gets the Type of the current instance.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)
TryCreateImmutableGlyphRunReference() 

See Also

Reference

GlyphRun Class
Avalonia.Media Namespace