Lottie Animation State
class LottieAnimationState(isPlaying: Boolean, repeatCount: Int, initialProgress: Float, enableMergePaths: Boolean, imageAssetsFolder: String?, imageAssetDelegate: ImageAssetDelegate?)
Content copied to clipboard
State of the LottieAnimation composable
See also
Parameters
enableMergePaths
Initial value for enableMergePaths
imageAssetDelegate
Initial value for LottieAnimationState.imageAssetDelegate
imageAssetsFolder
Initial value for LottieAnimationState.imageAssetsFolder
initialProgress
Initial value for progress
isPlaying
Initial value for isPlaying
repeatCount
Initial value for repeatCount
Constructors
LottieAnimationState
Link copied to clipboard
Functions
Properties
applyOpacityToLayers
Link copied to clipboard
Sets whether to apply opacity to the each layer instead of shape.
enableMergePaths
Link copied to clipboard
Enable this to get merge path support.
imageAssetDelegate
Link copied to clipboard
Use this if you can't bundle images with your app.
imageAssetsFolder
Link copied to clipboard
If you use image assets, you must explicitly specify the folder in assets/ in which they are located because bodymovin uses the name filenames across all compositions (img_#).
outlineMasksAndMattes
Link copied to clipboard
Enable this to debug slow animations by outlining masks and mattes.
repeatCount
Link copied to clipboard
How many times the animation will be played.