jfig.objects
Class AWTImageRenderer

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

public class AWTImageRenderer
extends java.lang.Object
implements FigRenderer

AWT 1.1 renderer for FIG image objects, optionally with rounded corners.


Field Summary
protected  FigImage imageObject
           
protected  long timestamp
           
protected  LineWrapper wline
           
 
Constructor Summary
AWTImageRenderer(FigImage imageObject)
           
 
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
 

Field Detail

imageObject

protected FigImage imageObject

wline

protected LineWrapper wline

timestamp

protected long timestamp
Constructor Detail

AWTImageRenderer

public AWTImageRenderer(FigImage imageObject)
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