| Constructor and Description |
|---|
Shape()
Constructor.
|
Shape(java.awt.Color color)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
paint(Graphics g)
Draws the shape.
|
public Shape()
public Shape(java.awt.Color color)
public abstract void paint(Graphics g)