Ellipse class
Class to generate SVG ellipses
Constructors:
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});
- Implemented types
Constructors
- Ellipse({required double cx, required double cy, required double rx, required double ry, String? id, Color? fill, Color? stroke, StrokeWidth? strokeWidth, StrokeDasharray? strokeDasharray, String? style, String? transform, Unit? unit, 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
Properties
- cx ↔ double
-
getter/setter pair
- cy ↔ double
-
getter/setter pair
- fill ↔ Color?
-
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- rx ↔ double
-
getter/setter pair
- ry ↔ double
-
getter/setter pair
- stroke ↔ Color?
-
getter/setter pairoverride
- strokeDasharray ↔ StrokeDasharray?
-
getter/setter pairoverride
- strokeWidth ↔ StrokeWidth?
-
getter/setter pairoverride
- style ↔ String?
-
getter/setter pairoverride
- transform ↔ String?
-
getter/setter pairoverride
- unit ↔ Unit?
-
getter/setter pairoverride
- visibility ↔ Visibility?
-
getter/setter pairoverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
toXML(
) → String -
Convert the Svg structure to XML string
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited