sweepAngle property

num get sweepAngle

Gets or sets the absolute angle (in degrees) between the first and last node.

The default value is 360. The value must be greater than zero and less than or equal to 360. If it is not in this range, it will be automatically set to 360.

Whether the arrangement is clockwise or counterclockwise does not depend on the sign of this value. The direction can be controlled by setting #direction. If 360 is the specified value, the actual value will be less to keep the first and last elements from overlapping, and the spacing between the first and last nodes will be determined the same way as for all other adjacent nodes.

Implementation

_i2.num get sweepAngle => _i4.getProperty(
      this,
      'sweepAngle',
    );
set sweepAngle (num value)

Implementation

set sweepAngle(_i2.num value) {
  _i4.setProperty(
    this,
    'sweepAngle',
    value,
  );
}