Class Math.Angle

Description

Represents an angle.


Variable angle

int|float Math.Angle.angle

Description

The actual keeper of the angle value.


Variable type

string Math.Angle.type

Description

The type of the angle value. Is either "deg", "rad", "gon" or "str".


Method create

Math.Angle Math.Angle()
Math.Angle Math.Angle(int|float radians)
Math.Angle Math.Angle(int|float angle, string type)

Description

If an angle object is created without arguments it will have the value 0 radians.