Methods 
Modifier and Type Method and Description
static void circle(double x, double y, double radius)
Draws a circle of the specified radius, centered at (x, y).
static void filledCircle(double x, double y, double radius)
Draws a filled circle of the specified radius, centered at (x, y).
static void rectangle(double x, double y, double halfWidth, double halfHeight)
Draws a rectangle of the specified size, centered at (x, y).
static void filledRectangle(double x, double y, double halfWidth, double halfHeight)
Draws a filled rectangle of the specified size, centered at (x, y).
static void line(double x0, double y0, double x1, double y1)
Draws a line segment between (x0, y0) and (x1, y1).