ImageAsset
Image assets imported in to the Lottie as per After Effects. This class extends the Asset class.
Hierarchy
ImageAsset
Constructors
constructor
newImageAsset(parent: any): ImageAsset
Properties
Optional data
data: undefined | string
height
height: number
Optional id
id: undefined | string
parent
parent: any
Optional path
path: undefined | string
width
width: number
Methods
fromJSON
fromJSON(json: Record<string, any>): ImageAsset
toJSON
toJSON(): Record<string, any>
Returns Record<string, any>
JSON object
Last updated