| Modifier and Type | Method and Description |
|---|---|
static Square |
canvas.drawSquare(double x,
double y,
double s)
Draws a square with the given side length centered at the given point coordinates
in the default color.
|
static Square |
canvas.drawSquare(double x,
double y,
double s,
java.lang.String color)
Draws a square with the given side length centered at the given point coordinates
in the given color.
|