FileDocCategorySizeDatePackage
AbstractRectangularShape.javaAPI DocExample565Wed Apr 20 14:52:28 BST 2005None

AbstractRectangularShape

public abstract class AbstractRectangularShape extends Object implements RectangularShape

Fields Summary
protected double
x
protected double
y
protected double
w
protected double
h
Constructors Summary
Methods Summary
public voidsetPosition(double x, double y)

 this.x = x; this.y = y; 
public voidsetSize(double width, double height)

 w = width; h = height; 
public voidtranslate(double dx, double dy)

 x += dx; y += dy;