Arc class Null safety
Class to generate SVG arcs
Constructors:
Arc(
{required this.cx,
required this.cy,
required this.r,
required this.startAngle,
required this.endAngle,
this.id,
this.fill,
this.stroke,
this.strokeWidth,
this.strokeDasharray,
this.style,
this.transform,
this.unit,
this.visibility = Visibility.inherit});
- Implemented types
Constructors
- Arc({required double cx, required double cy, required double r, required double startAngle, required double endAngle, String? id, Color? fill, Color? stroke, StrokeWidth? strokeWidth, StrokeDasharray? strokeDasharray, String? style, String? transform, Unit? unit, Visibility? visibility = Visibility.inherit})
Properties
- cx ↔ double
-
read / write
- cy ↔ double
-
read / write
- endAngle ↔ double
-
read / write
- fill ↔ Color?
-
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id ↔ String?
-
read / writeoverride
- r ↔ double
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- startAngle ↔ double
-
read / write
- stroke ↔ Color?
-
read / writeoverride
- strokeDasharray ↔ StrokeDasharray?
-
read / writeoverride
- strokeWidth ↔ StrokeWidth?
-
read / writeoverride
- style ↔ String?
-
read / writeoverride
- transform ↔ String?
-
read / writeoverride
- unit ↔ Unit?
-
read / writeoverride
- visibility ↔ Visibility?
-
read / writeoverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toXML(
) → String -
Convert the Svg structure to XML string
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited