Package-level declarations

Types

Link copied to clipboard
abstract class AbstractMutableAnimatedValue<Value, Vector : AnimationVector>(converter: TwoWayConverter<Value, Vector>, zeroVelocity: Value, initialValue: Value, label: String = "AnimatedValue") : MutableAnimatedValue<Value>
Link copied to clipboard
class AnimatedColor(initialValue: Color = Color.Transparent, colorSpace: ColorSpace = ColorSpaces.Srgb, label: String = "AnimatedColor") : MutableColorAnimatedValue, AbstractMutableAnimatedValue<Color, AnimationVector4D>
Link copied to clipboard
class AnimatedDp(initialValue: Dp = 0.dp, label: String = "AnimatedDp") : AbstractMutableAnimatedValue<Dp, AnimationVector1D> , MutableDpAnimatedValue
Link copied to clipboard
class AnimatedDpOffset(initialValue: DpOffset = DpOffset.Zero, label: String = "AnimatedDpOffset") : MutableDpOffsetAnimatedValue, AbstractMutableAnimatedValue<DpOffset, AnimationVector2D>
Link copied to clipboard
class AnimatedDpSize(initialValue: DpSize = DpSize.Zero, label: String = "AnimatedDpSize") : MutableDpSizeAnimatedValue, AbstractMutableAnimatedValue<DpSize, AnimationVector2D>
Link copied to clipboard
class AnimatedFloat(initialValue: Float = 0.0f, label: String = "AnimatedFloat") : MutableFloatAnimatedValue, AbstractMutableAnimatedValue<Float, AnimationVector1D>
Link copied to clipboard
class AnimatedInt(initialValue: Int = 0, label: String = "AnimatedInt") : MutableIntAnimatedValue, AbstractMutableAnimatedValue<Int, AnimationVector1D>
Link copied to clipboard
class AnimatedIntOffset(initialValue: IntOffset = IntOffset.Zero, label: String = "AnimatedIntOffset") : MutableIntOffsetAnimatedValue, AbstractMutableAnimatedValue<IntOffset, AnimationVector2D>
Link copied to clipboard
class AnimatedIntSize(initialValue: IntSize = IntSize.Zero, label: String = "AnimatedIntSize") : MutableIntSizeAnimatedValue, AbstractMutableAnimatedValue<IntSize, AnimationVector2D>
Link copied to clipboard
class AnimatedOffset(initialValue: Offset = Offset.Zero, label: String = "AnimatedOffset") : MutableOffsetAnimatedValue, AbstractMutableAnimatedValue<Offset, AnimationVector2D>
Link copied to clipboard
class AnimatedSize(initialValue: Size = Size.Zero, label: String = "AnimatedSize") : MutableSizeAnimatedValue, AbstractMutableAnimatedValue<Size, AnimationVector2D>
Link copied to clipboard
interface AnimatedValue<Value>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface DpState : State<Dp>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface SizeState : State<Size>
Link copied to clipboard

Functions

Link copied to clipboard
inline operator fun ColorState.getValue(thisObj: Any?, property: KProperty<*>): Color
inline operator fun DpOffsetState.getValue(thisObj: Any?, property: KProperty<*>): DpOffset
inline operator fun DpSizeState.getValue(thisObj: Any?, property: KProperty<*>): DpSize
inline operator fun DpState.getValue(thisObj: Any?, property: KProperty<*>): Dp
inline operator fun IntOffsetState.getValue(thisObj: Any?, property: KProperty<*>): IntOffset
inline operator fun IntSizeState.getValue(thisObj: Any?, property: KProperty<*>): IntSize
inline operator fun OffsetState.getValue(thisObj: Any?, property: KProperty<*>): Offset
inline operator fun SizeState.getValue(thisObj: Any?, property: KProperty<*>): Size
inline operator fun VelocityState.getValue(thisObj: Any?, property: KProperty<*>): Velocity
Link copied to clipboard
@JvmName(name = "mutableColorStateOfLong")
fun mutableColorStateOf(value: Long): MutableColorState
@JvmName(name = "mutableColorStateOfRgba")
fun mutableColorStateOf(red: Int, green: Int, blue: Int, alpha: Int = 255): MutableColorState
Link copied to clipboard
Link copied to clipboard
@JvmName(name = "mutableDpSizeStateOfWh")
fun mutableDpSizeStateOf(width: Dp, height: Dp): MutableDpSizeState
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JvmName(name = "mutableIntSizeStateOfWh")
fun mutableIntSizeStateOf(width: Int, height: Int): MutableIntSizeState
Link copied to clipboard
Link copied to clipboard
@JvmName(name = "mutableSizeStateOfWh")
fun mutableSizeStateOf(width: Float, height: Float): MutableSizeState
Link copied to clipboard
Link copied to clipboard
inline operator fun MutableColorState.setValue(thisObj: Any?, property: KProperty<*>, value: Color)
inline operator fun MutableDpOffsetState.setValue(thisObj: Any?, property: KProperty<*>, value: DpOffset)
inline operator fun MutableDpSizeState.setValue(thisObj: Any?, property: KProperty<*>, value: DpSize)
inline operator fun MutableDpState.setValue(thisObj: Any?, property: KProperty<*>, value: Dp)
inline operator fun MutableIntOffsetState.setValue(thisObj: Any?, property: KProperty<*>, value: IntOffset)
inline operator fun MutableIntSizeState.setValue(thisObj: Any?, property: KProperty<*>, value: IntSize)
inline operator fun MutableOffsetState.setValue(thisObj: Any?, property: KProperty<*>, value: Offset)
inline operator fun MutableSizeState.setValue(thisObj: Any?, property: KProperty<*>, value: Size)
inline operator fun MutableVelocityState.setValue(thisObj: Any?, property: KProperty<*>, value: Velocity)
Link copied to clipboard
fun <Value, Context> TargetableMutableAnimatedValue(base: MutableAnimatedValue<Value>, valueMapper: Context.() -> Value, specFactory: Context.() -> AnimationSpec<Value>, stopOnTargetReached: Context.() -> Boolean? = null): TargetableMutableAnimatedValue<Value, Context>