endAngle property

num Function(Arc, [List<Object?>?]) endAngle
getter/setter pair

The end angle accessor.

final arc = Arc(…)..endAngle = (thisArg, [args]) => pi;

arc.endAngle; // (thisArg, [args]) => 3.141592653589793

The end angle accessor defaults to:

endAngle(thisArg, [args]) {
  args[0]["endAngle"];
}

The angle is specified in radians, with 0 at -y (12 o’clock) and positive angles proceeding clockwise. If |endAngle - startAngle| ≥ 2π, a complete circle or annulus is generated rather than a sector.

Implementation

num Function(Arc, [List<Object?>?]) endAngle;