pointAnimation

fun pointAnimation(initialValue: Float = 1.0f, targetValue: Float = 1.2f, animationSpec: InfiniteRepeatableSpec<Float> = PointAnimation): EventPointAnimation

Creates an EventPointAnimation object to define animations for event points.

Return

An EventPointAnimation object configured with the given parameters.

Parameters

initialValue

The initial value of the animation. Defaults to 1.0f.

targetValue

The target value of the animation. Defaults to 1.2f.

animationSpec

The specification for the animation. Defaults to PointAnimation.