jfig.objects
Class AWTRectangleRenderer

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

public class AWTRectangleRenderer
extends java.lang.Object
implements FigRenderer

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


Field Summary
protected  int pixel_width
           
protected  int radius
           
protected  FigRectangle rectangle
           
protected  long timestamp
           
protected  FillWrapper wfill
           
protected  LineWrapper wline
           
 
Constructor Summary
AWTRectangleRenderer(FigRectangle rectangle)
           
 
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

rectangle

protected FigRectangle rectangle

wline

protected LineWrapper wline

wfill

protected FillWrapper wfill

pixel_width

protected int pixel_width

radius

protected int radius

timestamp

protected long timestamp
Constructor Detail

AWTRectangleRenderer

public AWTRectangleRenderer(FigRectangle rectangle)
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