gnu.kawa.models
Class WithTransform

java.lang.Object
  extended by gnu.kawa.models.WithTransform
All Implemented Interfaces:
Paintable

public class WithTransform
extends java.lang.Object
implements Paintable


Constructor Summary
WithTransform(Paintable paintable, java.awt.geom.AffineTransform transform)
           
 
Method Summary
 java.awt.geom.Rectangle2D getBounds2D()
           
 void paint(java.awt.Graphics2D graphics)
           
 Paintable transform(java.awt.geom.AffineTransform tr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WithTransform

public WithTransform(Paintable paintable,
                     java.awt.geom.AffineTransform transform)
Method Detail

paint

public void paint(java.awt.Graphics2D graphics)
Specified by:
paint in interface Paintable

getBounds2D

public java.awt.geom.Rectangle2D getBounds2D()
Specified by:
getBounds2D in interface Paintable

transform

public Paintable transform(java.awt.geom.AffineTransform tr)
Specified by:
transform in interface Paintable