circle method

Drawable circle(
  1. double x,
  2. double y,
  3. double diameter
)

Draws a rectangle with the center at (x, y) with the specified diameter.

Implementation

Drawable circle(double x, double y, double diameter) {
  final Drawable ret = ellipse(x, y, diameter, diameter);
  return ret;
}