new lime.animation.ColorTo(args)
Animation for changing element's fillcolor value
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
args |
mixed |
<repeatable> |
Color definition. |
- Source:
- animation/colorto.js, line 13
Extends
Summary
Methods |
||
---|---|---|
getTargetComponent () → {lime.animation.ColorTo.Target}
Return the animation target component
|
||
makeTargetProp ()
|
||
setTargetComponent (component) → {lime.animation.ColorTo}
Set the component to apply the animation
|
||
update ()
|
Inherited
lime.animation.Animation.addTarget,  lime.animation.Animation.cloneParam,  lime.animation.Animation.enableOptimizations,  lime.animation.Animation.getDirector,  lime.animation.Animation.getDuration,  lime.animation.Animation.getEasing,  lime.animation.Animation.getTargetProp,  lime.animation.Animation.initTarget,  lime.animation.Animation.play,  lime.animation.Animation.removeTarget,  lime.animation.Animation.reverse,  lime.animation.Animation.setDuration,  lime.animation.Animation.setEasing,  lime.animation.Animation.step_,  lime.animation.Animation.stop,  lime.animation.Animation.updateAll,  lime.animation.Animation.useTransitions
Members
-
<static> Target :string
-
Element component to apply the animation
- Source:
- animation/colorto.js, line 35
Properties:
Name Type Default Description FILL
string fill STROKE
string stroke FONT
string font -
scope
-
- Source:
- animation/colorto.js, line 29
Methods
-
getTargetComponent() → {lime.animation.ColorTo.Target}
-
Return the animation target component
- Source:
- animation/colorto.js, line 55
Returns:
component type. -
makeTargetProp()
-
- Source:
- animation/colorto.js, line 60
-
setTargetComponent(component) → {lime.animation.ColorTo}
-
Set the component to apply the animation
Parameters:
Name Type Description component
lime.animation.ColorTo.Target type. - Source:
- animation/colorto.js, line 46
Returns:
object itself. -
update()
-
- Source:
- animation/colorto.js, line 86