caif
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
caif
core
/
com.nxoim.caif.core.base
/
AnimatedSize
Animated
Size
class
AnimatedSize
(
initialValue
:
Size
=
Size.Zero
,
label
:
String
=
"AnimatedSize"
)
:
AbstractMutableAnimatedValue
<
Size
,
AnimationVector2D
>
Members
Members & Extensions
Constructors
Animated
Size
Link copied to clipboard
constructor
(
initialValue
:
Size
=
Size.Zero
,
label
:
String
=
"AnimatedSize"
)
Properties
value
Link copied to clipboard
open
override
var
value
:
Size
velocity
Link copied to clipboard
open
override
val
velocity
:
Size
Functions
animate
To
Link copied to clipboard
open
suspend override
fun
animateTo
(
target
:
Size
,
spec
:
AnimationSpec
<
Size
>
=
spring()
,
initialVelocity
:
Size
=
velocity
,
stopOnTargetReached
:
Boolean
=
false
)
to
Animated
Value
Link copied to clipboard
fun
<
Value
>
MutableAnimatedValue
<
Value
>
.
toAnimatedValue
(
)
:
AnimatedValue
<
Value
>