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