fromMinMaxDegreesClockwise method - AngleRange class - core library - Dart API
fromMinMaxDegreesClockwise
fromMinMaxDegreesClockwise static method
- double min,
- double max
Constructs an AngleRange from the provided minimum and maximum angles.
Corrects values if they exceed the ranges. The angles are always interpreted in clockwise orientation.
-
minAngle where to start the circular sector, running clockwise, in degrees from north. The value will be normalized to [0.0, 360.0). -
maxAngle where the circular sector ends, running clockwise, in degrees from north. The value will be normalized to [0.0, 360.0).
Returns AngleRange. Created AngleRange from the provided minimum and maximum angles.
Implementation
static AngleRange fromMinMaxDegreesClockwise(double min, double max) => $prototype.fromMinMaxDegreesClockwise(min, max);