polyui
1.4.32
jvm
polyui
/
org.polyfrost.polyui.animate
/
Shake
Shake
class
Shake
(
var
durationNanos
:
Long
,
oscillations
:
Int
,
domain
:
Float
)
:
Animation
Members
Constructors
Shake
Link copied to clipboard
constructor
(
durationNanos
:
Long
,
oscillations
:
Int
,
domain
:
Float
)
Properties
duration
Nanos
Link copied to clipboard
var
durationNanos
:
Long
from
Link copied to clipboard
var
from
:
Float
is
Finished
Link copied to clipboard
val
isFinished
:
Boolean
passed
Time
Link copied to clipboard
var
passedTime
:
Float
range
Link copied to clipboard
val
range
:
Float
to
Link copied to clipboard
var
to
:
Float
value
Link copied to clipboard
var
value
:
Float
Functions
clone
Link copied to clipboard
open
override
fun
clone
(
)
:
Animation
finish
Now
Link copied to clipboard
fun
finishNow
(
)
finish the animation now.
reset
Link copied to clipboard
fun
reset
(
)
reverse
Link copied to clipboard
fun
reverse
(
)
update
Link copied to clipboard
fun
update
(
deltaTimeNanos
:
Long
)
:
Float