PropertyAnimation
(
target
,
property
,
start
,
end
,
duration
,
easingCurve
,
options
)
- Parameters:
-
target <ARchitectObject>
The object which holds the property that will be animated. Must be an ARchitectObject. -
property <string>
The object's property name that will be animated. -
start <int|float>
The value the PropertyAnimation will start with. If null, the current value of the property will be used. Remark: In case null is set as start value, and the PropertyAnimation loops more than once, the PropertyAnimation will not reset the value after it has completed the first run, and the value won't change in the following runs. To reset the value after each run, supply the property's current value as start value. -
end <int|float>
The value the PropertyAnimation will end with. The value must be non-null. -
duration <int>
The duration of the PropertyAnimation, in milliseconds. The value must be non-negative. -
easingCurve <EasingCurve>
an easing curve describing the nature of the animation (see description above for details). If the easingCurve parameter is omitted, set to null or undefined or does not contain a type property, the easingCurve parameter will default to a linear easing curve. -
options <object>
Setup-Parameters to customize additional object properties.
Accepted options-properties are- onStart
- onFinish