toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.tween
/
TweenComponent
Tween
Component
class
TweenComponent
(
val
view
:
BaseView
,
vs
:
List
<
V2
<
*
>
>
,
val
time
:
TimeSpan
=
TimeSpan.NIL
,
val
easing
:
Easing
=
DEFAULT_EASING
,
val
callback
:
(
Float
)
->
Unit
,
val
c
:
CancellableContinuation
<
Unit
>
?
,
val
waitTime
:
TimeSpan
=
TimeSpan.NIL
,
val
autoInvalidate
:
Boolean
=
true
)
Members
Constructors
Tween
Component
Link copied to clipboard
constructor
(
view
:
BaseView
,
vs
:
List
<
V2
<
*
>
>
,
time
:
TimeSpan
=
TimeSpan.NIL
,
easing
:
Easing
=
DEFAULT_EASING
,
callback
:
(
Float
)
->
Unit
,
c
:
CancellableContinuation
<
Unit
>
?
,
waitTime
:
TimeSpan
=
TimeSpan.NIL
,
autoInvalidate
:
Boolean
=
true
)
Properties
auto
Invalidate
Link copied to clipboard
val
autoInvalidate
:
Boolean
=
true
c
Link copied to clipboard
val
c
:
CancellableContinuation
<
Unit
>
?
callback
Link copied to clipboard
val
callback
:
(
Float
)
->
Unit
cancelled
Link copied to clipboard
var
cancelled
:
Boolean
done
Link copied to clipboard
var
done
:
Boolean
easing
Link copied to clipboard
val
easing
:
Easing
elapsed
Link copied to clipboard
var
elapsed
:
Duration
hrtime
Link copied to clipboard
val
hrtime
:
Duration
resumed
Link copied to clipboard
var
resumed
:
Boolean
time
Link copied to clipboard
val
time
:
TimeSpan
updater
Link copied to clipboard
var
updater
:
Closeable
?
view
Link copied to clipboard
val
view
:
BaseView
wait
Time
Link copied to clipboard
val
waitTime
:
TimeSpan
Functions
complete
Once
Link copied to clipboard
fun
completeOnce
(
)
resume
Once
Link copied to clipboard
fun
resumeOnce
(
)
set
To
Link copied to clipboard
fun
setTo
(
elapsed
:
TimeSpan
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String