| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
canvas.drawRectangle(double x,
double y,
double w,
double h)
Draws a rectangle with the given width and height centered at the given point coordinates
in the default color.
|
static Rectangle |
canvas.drawRectangle(double x,
double y,
double w,
double h,
java.lang.String color)
Draws a rectangle with the given width and height centered at the given point coordinates
in the given color.
|