Class GlyphId

GlyphId class

Represents glyph ids, available in the Font. Glyph id is a unique number for a glyph, which is font type dependent. For example: Type1’s id is a glyph name, instance of (GlyphStringId) class. TTF’s id is an int index, instance of (GlyphUInt32Id) class.

public abstract class GlyphId

Methods

NameDescription
override Equals(object)Returns true if two glyph ids are not equal.
abstract GetHashCode()Returns hashcode of object.
virtual ToGlyphStringId()Virtual cast to GlyphUInt32Id. GlyphUInt32Id overrides to return instance.
virtual ToGlyphUInt32Id()Virtual cast to GlyphUInt32Id. GlyphUInt32Id overrides to return instance.
abstract ToString()Returns string representation the glyph id.
operator ==Returns true if two glyph ids are equal.
operator !=Returns true if two glyph ids are not equal.

See Also