ellipse method

Drawable ellipse(
  1. double x,
  2. double y,
  3. double width,
  4. double height

Draws a rectangle with the center at (x, y) with the specified width and height.


Drawable ellipse(double x, double y, double width, double height) {
  EllipseParams ellipseParams =
      generateEllipseParams(width, height, drawConfig);
  EllipseResult ellipseResponse =
      ellipseWithParams(x, y, drawConfig, ellipseParams);
  return _buildDrawable(
      ellipseResponse.opset, ellipseResponse.estimatedPoints);