toggle menu
animatedledstrip-core
1.0.5
common
switch theme
search in API
animatedledstrip-core
/
animatedledstrip.animations.parameters
/
AbsoluteDistance
Absolute
Distance
data
class
AbsoluteDistance
(
val
x
:
Double
=
0.0
,
val
y
:
Double
=
0.0
,
val
z
:
Double
=
0.0
)
:
Distance
A
Distance
with the exact distance in each direction
Members
Constructors
Absolute
Distance
Link copied to clipboard
constructor
(
x
:
Int
=
0
,
y
:
Int
=
0
,
z
:
Int
=
0
)
constructor
(
)
constructor
(
x
:
Double
=
0.0
,
y
:
Double
=
0.0
,
z
:
Double
=
0.0
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
coordinates
Link copied to clipboard
open
val
coordinates
:
String
max
Distance
Link copied to clipboard
open
val
maxDistance
:
Double
x
Link copied to clipboard
open
override
val
x
:
Double
=
0.0
y
Link copied to clipboard
open
override
val
y
:
Double
=
0.0
z
Link copied to clipboard
open
override
val
z
:
Double
=
0.0
Functions
as
Absolute
Distance
Link copied to clipboard
open
fun
asAbsoluteDistance
(
)
:
AbsoluteDistance
div
Link copied to clipboard
operator
fun
div
(
divisor
:
Int
)
:
AbsoluteDistance
times
Link copied to clipboard
operator
fun
times
(
multiplier
:
Distance
)
:
AbsoluteDistance
unary
Minus
Link copied to clipboard
operator
fun
unaryMinus
(
)
:
AbsoluteDistance