Mosaic
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Mosaic
mosaic-core
/
dev.catbit.mosaic.core.data.schemas.animation
/
AnimationSpecSchema
/
Tween
Tween
@
Serializable
@
SerialName
(
value
=
"tween"
)
data
class
Tween
(
val
durationMillis
:
Int
=
300
,
val
delayMillis
:
Int
=
0
,
val
easing
:
EasingType
=
EasingType.FAST_OUT_SLOW_IN
)
:
AnimationSpecSchema
Members
Constructors
Tween
Link copied to clipboard
constructor
(
durationMillis
:
Int
=
300
,
delayMillis
:
Int
=
0
,
easing
:
EasingType
=
EasingType.FAST_OUT_SLOW_IN
)
Properties
delay
Millis
Link copied to clipboard
@
SerialName
(
value
=
"delayMillis"
)
val
delayMillis
:
Int
duration
Millis
Link copied to clipboard
@
SerialName
(
value
=
"durationMillis"
)
val
durationMillis
:
Int
easing
Link copied to clipboard
@
SerialName
(
value
=
"easing"
)
val
easing
:
EasingType