OffsetArcAnimationSpec
fun OffsetArcAnimationSpec() {
// Will interpolate the Offset in arcs such that the curve of the quarter of an Ellipse is above
// the center.
ArcAnimationSpec<Offset>(mode = ArcAbove)
}DurationBasedAnimationSpec that interpolates 2-dimensional values using arcs of quarter of an Ellipse.
Compose Multiplatform
Ship iOS, desktop, and web apps with Compose
RevenueCat
Add subscriptions to your apps in minutes
fun OffsetArcAnimationSpec() {
// Will interpolate the Offset in arcs such that the curve of the quarter of an Ellipse is above
// the center.
ArcAnimationSpec<Offset>(mode = ArcAbove)
}Last updated: