-
The path to the Lottie animation. A nil path will hide the default animation.
Declaration
Swift
public let path: String?
-
The size of the animation.
Declaration
Swift
public let size: CGSize
-
The type of asset (
.animation
).Declaration
Swift
public let type: AssetType
-
The loop mode of this asset
Declaration
Swift
public let loopMode: LoopMode
-
Returns a new AnimationAsset
Declaration
Swift
public init(path: String?, size: CGSize, loopMode: LoopMode = .playOnce)