TtfGlyfTable

Inheritance: java.lang.Object, com.aspose.font.TtfTableBase

public class TtfGlyfTable extends TtfTableBase

Represents “glyf” table of the TTF font file.

Methods

MethodDescription
getTag()Gets table tag.
containsGlyph(int glyphIndex)Returns true in case the table contains glyph with glyphIndex.
getGlyph(long glyphIndex)Returns a glyph by glyph index.

getTag()

public static String getTag()

Gets table tag.

Returns: java.lang.String - Table tag.

containsGlyph(int glyphIndex)

public boolean containsGlyph(int glyphIndex)

Returns true in case the table contains glyph with glyphIndex.

Parameters:

ParameterTypeDescription
glyphIndexintGlyph index.

Returns: boolean - True if table contains glyph for index specified, false otherwise.

getGlyph(long glyphIndex)

public Glyph getGlyph(long glyphIndex)

Returns a glyph by glyph index.

Parameters:

ParameterTypeDescription
glyphIndexlongGlyph index.

Returns: Glyph - Glyph Glyph related to index specified.