public class HouseShape extends CompoundShape
| Constructor and Description |
|---|
HouseShape(int x,
int y,
int width)
Constructs a house shape.
|
contains, draw, translatedrawSelection, isSelected, setSelectedpublic HouseShape(int x, int y, int width)
x - the left of the bounding rectangley - the top of the bounding rectanglewidth - the width of the bounding rectangle