public class Rectangle extends Object implements Serializable, Cloneable, MoebiusShape
Constructor and Description |
---|
Rectangle() |
Rectangle(double aX,
double aY,
double aW,
double aH) |
Rectangle(Rectangle aRectangle) |
Modifier and Type | Method and Description |
---|---|
void |
draw(MoebiusGraphics g) |
double[] |
getCorners() |
Vector |
getTools() |
void |
set(double aX,
double aY,
double aW,
double aH) |
void |
set(Rectangle aRectangle) |
void |
setCorners(double[] corners) |
String |
toString() |
void |
unify(Rectangle aRectangle) |
public Rectangle()
public Rectangle(double aX, double aY, double aW, double aH)
public Rectangle(Rectangle aRectangle)
public void draw(MoebiusGraphics g)
draw
in interface MoebiusShape
public double[] getCorners()
public Vector getTools()
getTools
in interface MoebiusShape
public void set(double aX, double aY, double aW, double aH)
public void set(Rectangle aRectangle)
public void setCorners(double[] corners)
public void unify(Rectangle aRectangle)