public class HouseShape extends CompoundShape
Constructor and Description |
---|
HouseShape(int x,
int y,
int width)
Constructs a house shape.
|
add, contains, draw, translate
drawSelection, isSelected, setSelected
public 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