public class Staircase extends Shape
| Constructor and Description |
|---|
Staircase(double[][] points,
java.awt.Color color)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Staircase |
of(double[][] points)
Creates a Staircase with solid stroke and black color.
|
void |
paint(Graphics g)
Draws the shape.
|