org.proteinshader.graphics.typography
Interface GlyphSetFactory

All Known Implementing Classes:
GLF2GlyphSetFactory

public interface GlyphSetFactory

Defines the interface for a factory that can read glyphs from a source and produce a GlyphSet object.


Method Summary
 GlyphSet readGlyphSet(Properties p)
          Reads information from a source and constructs a GlyphSet object.
 void setDebug(boolean debug)
          Setting debug to true will activate several print statements that are useful for troubleshooting.
 

Method Detail

readGlyphSet

GlyphSet readGlyphSet(Properties p)
                      throws GlyphException
Reads information from a source and constructs a GlyphSet object.

The Properties object given as an argument will hold information on the GlyphSet to be read from some source.

Parameters:
p - a Properties object is a type of hash.
Returns:
A GlyphSet that holds Glyph objects.
Throws:
GlyphException

setDebug

void setDebug(boolean debug)
Setting debug to true will activate several print statements that are useful for troubleshooting.

Parameters:
debug - boolean value to turn debugging on or off.


Copyright © 2007-2008