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