gnu.kawa.models

Class WithPaint

Implemented Interfaces:
Paintable

public class WithPaint
extends java.lang.Object
implements Paintable

Constructor Summary

WithPaint(Paintable paintable, Paint paint)

Method Summary

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

Constructor Details

WithPaint

public WithPaint(Paintable paintable,
                 Paint paint)

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