Dynamic drawing flashing animation class
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
The object has the following properties:
|
Members
-
Blink interval
-
Default Value:
500 ms -
Number of flashes
-
Default Value:
0 -
blinkStyle : BlinkAnimationBlinkStyle
-
Flash type
-
Default Value:
Blink_Frequency -
Animation duration, in seconds
-
Default Value:
0 -
endColor : Color
-
End color, the default is red
-
Default Value:
Color(1,0,0,1) -
Animation name, unique identification of animation
-
Default Value:
"" -
Repeat loop playback, default false
-
Default Value:
false -
replaceStyle : BlinkAnimationReplaceStyle
-
Flashing color alternate type
-
Default Value:
Replace_NoColor -
startColor : Color
-
Start color, default blue
-
Default Value:
Color(0,0,1,1) -
Animation start time, in seconds
-
Default Value:
0
Methods
-
Destroy objects and release resources.
-
getGOAnimationType() → GOAnimationType
-
Get animation type
Returns:
Animation type -
Pause animation
-
Play animation
-
Reset animation
-
Set animation name
Name Type Description nameString Animation name Returns:
Settings successful or not. -
Stop animation
