Available on crate feature
api-12 only.Structs§
- Defines the callback type for when the animation playback is complete.
- Defines the expected frame rate range of the animation.
- Implements the native animation APIs provided by ArkUI.
Functions§
- Creates an animation configuration.
- Disposes of an animation configuration.
- Obtains the animation curve.
- Obtains the animation delay, in milliseconds.
- Obtains the animation duration, in milliseconds.
- Obtains the expected frame rate range of an animation.
- Obtains the animation curve of the animation of an animator.
- Obtains the number of times that an animation is played.
- Obtains the animation playback mode.
- Obtains the animation playback speed.
- Sets the animation curve.
- Sets the animation delay.
- Sets the animation duration.
- Sets the expected frame rate range of an animation.
- Sets the animation curve for the animation of an animator.
- Sets the number of times that an animation is played.
- Sets the animation playback mode.
- Sets the animation playback speed.
- Obtains the custom object in an animation event object.
- Obtains the custom object in an animation event object.
- Obtains the current progress in an animation event object.
- Creates an animator parameter object.
- Disposes of an animator parameter object.
- Obtains the interpolation start point of an animation.
- Obtains the interpolation curve of the animation of an animator.
- Obtains the delay for playing the animation of an animator.
- Obtains the playback direction of an animation.
- Obtains the duration for playing an animation.
- Obtains the interpolation end point of an animation.
- Obtains the expected frame rate range of an animation.
- Obtains whether the animator animation is restored to the initial state after being executed.
- Obtains the number of times that an animation is played.
- Obtains the interpolation curve for a keyframe in the animation of an animator.
- Obtains the keyframe time of an animation.
- Obtains the keyframe value of an animation.
- Sets the callback invoked when the animation playback is canceled.
- Sets the callback invoked when the animation playback is complete.
- Sets the callback invoked when the animator receives a frame.
- Sets the callback invoked when the animation playback is repeated.
- Sets the interpolation start point for the animation of an animator.
- Sets the interpolation curve for the animation of an animator.
- Sets the delay for playing the animation of an animator, in milliseconds.
- Sets the playback direction for the animation of an animator.
- Sets the duration for thea nimation of an animator, in milliseconds.
- Sets the interpolation end point for the animation of an animator.
- Sets the expected frame rate range for the animation of an animator.
- Sets whether the animation of an animator is restored to the initial state after being executed.
- Sets the number of times that the animation of an animator is played. The value 0 means not to play the animation, and -1 means to play the animation for an unlimited number of times.
- Sets the keyframe parameters for the animation of an animator.
- Sets the keyframe curve type for the animation of an animator.
- Cancels the animation of an animator.
- Ends the animation of an animator.
- Pauses the animation of an animator.
- Starts the animation of an animator.
- Resets the animation of an animator.
- Plays the animation of an animator in reverse order.
- Creates an asymmetric transition effect.
- Creates a movement object for component transition.
- Creates an opacity object for component transition.
- Creates a rotation object for component transition.
- Creates a scaling object for component transition.
- Creates a translation object for component transition.
- Creates a cubic Bezier curve.
- Implements initialization for the interpolation curve, which is used to create an interpolation curve based on the input parameter.
- Creates a custom curve.
- Creates an interpolating spring curve animated from 0 to 1. The actual animation value is calculated based on the curve.
- Creates a responsive spring animation curve. It is a special case of springMotion, with the only difference in the default values. It can be used together with springMotion.
- Creates a spring curve. The curve shape is subject to the spring parameters, and the animation duration is subject to the duration parameter in animation and animateTo.
- Creates a spring animation curve. If multiple spring animations are applied to the same attribute of an object, each animation replaces their predecessor and inherits the velocity.
- Creates a step curve.
- Disposes of a custom curve.
- Obtains the keyframe animation parameters.
- Disposes of the keyframe animation parameter object.
- Obtains the animation curve of a specific state in a keyframe animation.
- Obtains the overall delay of a keyframe animation
- Obtains the duration of a specific state in a keyframe animation.
- Obtains the number of times that a keyframe animation is played.
- Sets the closure function of the state at the time of the keyframe, that is, the state to be reached at the time of the keyframe.
- Sets the callback invoked when the keyframe animation playback is complete. This API is called after the keyframe animation has played for the specified number of times.
- Sets the animation curve for a specific keyframe in a keyframe animation.
- Sets the overall delay of a keyframe animation, in milliseconds. By default, the keyframe animation is played without delay.
- Sets the duration of a keyframe animation, in milliseconds.
- Sets the number of times that the keyframe animation is played. By default, the animation is played once. The value -1 indicates that the animation is played for an unlimited number of times. The value 0 indicates that there is no animation.
- Sets a combination of transition effects.
- Disposes of a transition effect.
- Sets transition effect animation settings.
Type Aliases§
- Defines the pointer to an animator object.
- Defines the pointer to an interpolation curve.