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.
getLeftSideBearing()Gets left side bearing of the glyph.
getCharName()Gets character name.
getGlyphVector()Gets glyphs vectors.

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.

getLeftSideBearing()

public abstract float getLeftSideBearing()

Gets left side bearing of the glyph.

Returns: float - Left side bearing of the glyph.

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.