core
/
graphics.glimpse.types
/
Angle
common
Angle
class
Angle
:
Comparable
<
Angle
>
Content copied to clipboard
Combined angle measure in
degrees
and
radians
.
Types
Functions
Properties
Types
Companion
Link copied to clipboard
common
object
Companion
Content copied to clipboard
Functions
coerceIn
Link copied to clipboard
common
fun
coerceIn
(minimumAngle:
Angle
, maximumAngle:
Angle
):
Angle
Content copied to clipboard
Ensures that this value lies in the specified range
minimumAngle
..
compareTo
Link copied to clipboard
common
open operator override fun
compareTo
(other:
Angle
):
Int
Content copied to clipboard
Compares this angle to the specified
other
angle.
div
Link copied to clipboard
common
operator fun
div
(other:
Angle
):
Float
Content copied to clipboard
Divides this angle by the
other
angle.
operator fun
div
(number:
Float
):
Angle
Content copied to clipboard
Divides this angle by the specified
number
.
equals
Link copied to clipboard
common
open operator override fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
common
open override fun
hashCode
():
Int
Content copied to clipboard
minus
Link copied to clipboard
common
operator fun
minus
(other:
Angle
):
Angle
Content copied to clipboard
Subtracts the
other
angle from this angle.
plus
Link copied to clipboard
common
operator fun
plus
(other:
Angle
):
Angle
Content copied to clipboard
Adds the
other
angle to this angle.
rangeTo
Link copied to clipboard
common
operator fun
rangeTo
(other:
Angle
):
AngleRange
Content copied to clipboard
Creates a range from this angle to the specified
other
angle.
rem
Link copied to clipboard
common
operator fun
rem
(other:
Angle
):
Angle
Content copied to clipboard
Calculates remainder of dividing this angle by the
other
angle.
times
Link copied to clipboard
common
operator fun
times
(number:
Float
):
Angle
Content copied to clipboard
Multiplies this angle by the specified
number
.
toString
Link copied to clipboard
common
open override fun
toString
():
String
Content copied to clipboard
unaryMinus
Link copied to clipboard
common
operator fun
unaryMinus
():
Angle
Content copied to clipboard
Returns the negative of this angle.
unaryPlus
Link copied to clipboard
common
operator fun
unaryPlus
():
Angle
Content copied to clipboard
Returns this angle.
Properties
deg
Link copied to clipboard
common
val
deg
:
Float
Content copied to clipboard
rad
Link copied to clipboard
common
val
rad
:
Float
Content copied to clipboard