Interface UnicodeRenderer.GlyphPainter

Enclosing class:

public static interface UnicodeRenderer.GlyphPainter

GlyphPainter is an interface that lets the developer customize how Unicode fonts are rendered onto textures. The default renderer simply fills the shape with solid white; however, any operations permitted a Graphics2D object are possible.

Chris Molini

Method Summary
 void drawGlyph(java.awt.Graphics2D graphics, java.awt.Shape glyph)
          Draws the glyph onto the graphics.

Method Detail


void drawGlyph(java.awt.Graphics2D graphics,
               java.awt.Shape glyph)
Draws the glyph onto the graphics.

graphics - The graphics to draw on.
glyph - The shape of the glyph we need to draw.