polyui
1.5.0
jvm
polyui
/
org.polyfrost.polyui.animate
/
Easing
/
Quad
Quad
class
Quad
(
val
type
:
Easing.Type
,
var
durationNanos
:
Long
,
start
:
Float
,
end
:
Float
)
:
Easing
Members
Constructors
Quad
Link copied to clipboard
constructor
(
type
:
Easing.Type
,
durationNanos
:
Long
,
start
:
Float
,
end
:
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
type
Link copied to clipboard
val
type
:
Easing.Type
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.
get
Value
In
Link copied to clipboard
open
override
fun
getValueIn
(
percent
:
Float
)
:
Float
get
Value
In
Out
Link copied to clipboard
open
override
fun
getValueInOut
(
percent
:
Float
)
:
Float
get
Value
Out
Link copied to clipboard
open
override
fun
getValueOut
(
percent
:
Float
)
:
Float
reset
Link copied to clipboard
fun
reset
(
)
reverse
Link copied to clipboard
fun
reverse
(
)
update
Link copied to clipboard
fun
update
(
deltaTimeNanos
:
Long
)
:
Float