public interface IGlyphAccessor
Defines functionality to retrieve specified glyph identifiers and glyphs.
Modifier and Type | Method and Description |
---|---|
GlyphId[] |
getAllGlyphIds()
Returns all glyph ids, available in the Font.
|
Glyph |
getGlyphById(GlyphId id)
Returns glyph by glyph id.
|
GlyphIdType |
getGlyphIdType()
Glyph id type specification.
|
GlyphId[] |
getGlyphsForText(String text)
Get glyphs representation for text.
|
GlyphIdType getGlyphIdType()
Glyph id type specification.
GlyphId[] getAllGlyphIds()
Returns all 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.
GlyphId[] getGlyphsForText(String text)
Get glyphs representation for text.
text
- Input text.Glyph getGlyphById(GlyphId id)
Returns glyph by glyph id.
Glyph id is a unique number for a glyph, which is font type dependent. GlyphId - derived object.
For example:
Type1's id is a glyph name, instance of (GlyphStringId
) class.
TTF's id is an int index, instance of (GlyphUInt32Id
) class.
id
- glyph ID.