Property
Represents animated properties of layers and shapes.
Hierarchy
Property
Constructors
constructor
parent : instance the property belongs to.
type : Property type.
newProperty(parent: any, type: PropertyType): Property
Properties
Optional expression
expression: undefined | string
index
index: number = 0
isAnimated
isAnimated: boolean = false
Optional maxColors
maxColors: undefined | number
Protected parent
parent: any
Readonly type
values
Methods
getParent
returns the parent shape of the given property
fromJSON
fromJSON(json: Record<string, any>): Property
toJSON
toJSON(): Record<string, any>
Returns Record<string, any>
JSON object
Last updated