jfig.objects
Class AWTTextRenderer

java.lang.Object
  extended byjfig.objects.AWTTextRenderer
All Implemented Interfaces:
FigRenderer

public class AWTTextRenderer
extends java.lang.Object
implements FigRenderer

AWT renderer for an Unicode/FIG text object. Currently only font size, font style and alignment can be specified, but rotations are not possible in AWT 1.1 rendering.


Constructor Summary
AWTTextRenderer(FigText textObject)
           
 
Method Summary
 void paint(java.awt.Graphics g)
           
 void paint(java.awt.Graphics g, FigTrafo2D trafo)
           
 void rebuild()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWTTextRenderer

public AWTTextRenderer(FigText textObject)
Method Detail

rebuild

public void rebuild()
Specified by:
rebuild in interface FigRenderer

paint

public void paint(java.awt.Graphics g)
Specified by:
paint in interface FigRenderer

paint

public void paint(java.awt.Graphics g,
                  FigTrafo2D trafo)
Specified by:
paint in interface FigRenderer