core
/
graphics.glimpse.types
/
Angle
/
Companion
common
Companion
object
Companion
Content copied to clipboard
Functions
Properties
Functions
atan
Link copied to clipboard
common
fun
atan
(value:
Float
):
Angle
Content copied to clipboard
Returns the arc tangent of a given
value
.
atan2
Link copied to clipboard
common
fun
atan2
(y:
Float
, x:
Float
):
Angle
Content copied to clipboard
Returns the arc tangent of a given value
y
/
x
.
fromDeg
Link copied to clipboard
common
fun
fromDeg
(deg:
Float
):
Angle
Content copied to clipboard
Creates a new angle measure from the given measure in
degrees
.
fromRad
Link copied to clipboard
common
fun
fromRad
(rad:
Float
):
Angle
Content copied to clipboard
Creates a new angle measure from the given measure in
radians
.
Properties
fullAngle
Link copied to clipboard
common
val
fullAngle
:
Angle
Content copied to clipboard
Angle measure of 360 degrees.
nullAngle
Link copied to clipboard
common
val
nullAngle
:
Angle
Content copied to clipboard
Angle measure of 0 degrees.
rightAngle
Link copied to clipboard
common
val
rightAngle
:
Angle
Content copied to clipboard
Angle measure of 90 degrees.
straightAngle
Link copied to clipboard
common
val
straightAngle
:
Angle
Content copied to clipboard
Angle measure of 180 degrees.