Ellipse constructor

Ellipse(
  1. {required double cx,
  2. required double cy,
  3. required double rx,
  4. required double ry,
  5. String? id,
  6. Color? fill,
  7. Color? stroke,
  8. StrokeWidth? strokeWidth,
  9. StrokeDasharray? strokeDasharray,
  10. String? style,
  11. String? transform,
  12. Unit? unit,
  13. Visibility? visibility = Visibility.inherit}
)

Ellipse constructor cx center x coordinate of the ellipse cy center y coordinate of the ellipse rx ellipse radius in x ry ellipse radius in y id widget id to made some reference in the SVG file fill fill color stroke stroke line color strokeWidth stroke line width strokeDasharray stroke line dash style style custom css style transform custom css transformation unit unit used in the parameters, default is px (pixel) visibility visibility of the element, default is inherit

Implementation

Ellipse(
    {required this.cx,
    required this.cy,
    required this.rx,
    required this.ry,
    this.id,
    this.fill,
    this.stroke,
    this.strokeWidth,
    this.strokeDasharray,
    this.style,
    this.transform,
    this.unit,
    this.visibility = Visibility.inherit});