Angle class abstract
Represents an angle independent of the unit of measurement.
Constructors
- Angle()
Properties
- degrees → double
-
The value of this angle in degrees.
Gets the value of this angle in degrees.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- radians → double
-
The value of this angle in radians.
Gets the value of this angle in radians.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromDegrees(
double angle) → Angle - Creates a new angle object based on the supplied angle value in degrees.
-
fromRadians(
double angle) → Angle - Creates a new angle object based on the supplied angle value in radians.