options |
Object
|
optional
Objects have the following properties:
Name |
Type |
Default |
Description |
startTime |
Number
|
0
|
optional
Animation start time, in seconds
|
duration |
Number
|
0
|
optional
Animation duration,in seconds
|
name |
String
|
""
|
optional
Animation name, the unique identifier of the animation
|
repeat |
Boolean
|
false
|
optional
Whether to repeat the loop play, the default is false
|
blinkInterval |
Number
|
500
|
optional
Blink interval, in milliseconds
|
blinkStyle |
blinkStyle
|
BlinkAnimationBlinkStyle.Blink_Frequency
|
optional
Blinking type
|
blinkNumber |
Number
|
0
|
optional
Blinking times
|
replaceStyle |
replaceStyle
|
BlinkAnimationReplaceStyle.Replace_NoColor
|
optional
Color alternate type
|
startColor |
startColor
|
new Color(0,0,1,1)
|
optional
Start color, default to blue
|
endColor |
endColor
|
new Color(1,0,0,1)
|
optional
End color, default to red
|
|