public interface Shape
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics g) |
int |
getNumberOfSides() |
float |
getX()
Returns the x coordinate of this object
|
float |
getY()
Returns the y coordinate of this object
|
float getX()
float getY()
int getNumberOfSides()
void draw(Graphics g)