public class AngleRange extends Object
Constructor and Description |
---|
AngleRange(double startAngle,
double sweepAngle)
Creates an instance of the
AngleRange class with specified start and sweep angles. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static AngleRange |
getDefault()
Gets an instance of
AngleRange with default values. |
double |
getStartAngle()
Gets the current start angle.
|
double |
getSweepAngle()
Gets the current sweep angle.
|
public AngleRange(double startAngle, double sweepAngle)
AngleRange
class with specified start and sweep angles.
The startAngle specifies the angle in degrees where the AngleRange starts and
the sweepAngle specifies its size in degrees.startAngle
- specifies the start angle.sweepAngle
- specifies the sweep angle.public static AngleRange getDefault()
AngleRange
with default values.
The default value for startAngle is 0.0
and
the default value for sweepAngle is 360.0
.AngleRange
instance.public double getStartAngle()
public double getSweepAngle()