IGlyph

public interface IGlyph

This interface give access to main parameters of glyph.

Methods

MethodDescription
getAdvanceWidth()Gets advanced width of the glyph.
getCharCode()Gets char code of the glyph.
getCharName()Gets character name.
getGlyphVector()Gets glyphs vectors.
getLeftSideBearing()Gets left side bearing of the glyph.

getAdvanceWidth()

public abstract float getAdvanceWidth()

Gets advanced width of the glyph.

Returns: float - Advanced width.

getCharCode()

public abstract char getCharCode()

Gets char code of the glyph.

Returns: char - A char code.

getCharName()

public abstract String getCharName()

Gets character name.

Returns: java.lang.String - Character name

getGlyphVector()

public abstract GlyphVector getGlyphVector()

Gets glyphs vectors.

Returns: java.awt.font.GlyphVector - Glyphs vectors.

getLeftSideBearing()

public abstract float getLeftSideBearing()

Gets left side bearing of the glyph.

Returns: float - Left side bearing of the glyph.