org.jrabbit.base.graphics.font.renderer
Interface UnicodeRenderer.GlyphPainter

Enclosing class:
UnicodeRenderer

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.

Author:
Chris Molini

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

Method Detail

drawGlyph

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

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