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