gnu.kawa.models

Class DrawShape

Implemented Interfaces:
Paintable

public class DrawShape
extends java.lang.Object
implements Paintable

Constructor Summary

DrawShape(Shape shape)

Method Summary

Rectangle2D
getBounds2D()
void
paint(Graphics2D graphics)
Paintable
transform(AffineTransform tr)

Constructor Details

DrawShape

public DrawShape(Shape shape)

Method Details

getBounds2D

public Rectangle2D getBounds2D()
Specified by:
getBounds2D in interface Paintable

paint

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

transform

public Paintable transform(AffineTransform tr)
Specified by:
transform in interface Paintable