GOAnimationBlink

Blinking animation class of dynamic plotting
Name Type Description
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 Blinking 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

Members

blinkInterval : Number

Blinking interval
Default Value: 500 milliseconds

blinkNumber : Number

Blinking times
Default Value: 0
Blinking type
Default Value: Blink_Frequency

endColor : Color

End color, default to red
Default Value: Color(1,0,0,1)
Color alternate type
Default Value: Replace_NoColor

startColor : Color

Start color, default to blue
Default Value: Color(0,0,1,1)

Methods

getGOAnimationType()GOAnimationType

Get animation type
Returns:
Animation type

getStartVisiable()

Get the starting show/hide state of the animation
Returns:
Whether to show

setStartVisiable(visiable)

Set the starting show/hide state of the animation
Name Type Description
visiable *