Dynamic plotting flashing animation class
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
The object has the following properties:
|
Members
-
Flashing interval
-
Default Value:
500 milliseconds -
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, default is red
-
Default Value:
Color(1,0,0,1) -
Animated name, unique identifier of the animation
-
Default Value:
"" -
Whether to repeat the loop play, the default is false
-
Default Value:
false -
replaceStyle : BlinkAnimationReplaceStyle
-
Flashing color alternate type
-
Default Value:
Replace_NoColor -
startColor : Color
-
Start color, default is blue
-
Default Value:
Color(0,0,1,1) -
Animation start time in seconds
-
Default Value:
0
Methods
-
Destroy objects and free up resources.
-
getGOAnimationType() → GOAnimationType
-
Get the animation type
Returns:
Animation type -
Pause animation
-
Play animation
-
Reset animation
-
Set the animation name
Name Type Description nameString Animation name Returns:
Whether the setting is successful -
Stop animation
