AngleRange constructor

AngleRange(
  1. double start,
  2. double extent
)

Constructs an AngleRange from the provided start and extent angles.

Corrects values if they exceed the ranges.

  • start Start angle, running clockwise, in degrees from north. The value will be normalized to [0.0, 360.0).

  • extent The range's extent, running clockwise, in degrees from start. The value will be clamped to the range of [0, 360] degrees.

Implementation

factory AngleRange(double start, double extent) => $prototype.$init(start, extent);