GOAnimationBlink

Dynamic plotting flashing animation class
Name Type Description
options Object optional The object has 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 Animated name, unique identifier of the animation
repeat Boolean false optional Whether to repeat the loop play, the default is false
blinkInterval Number 500 optional Flashing interval in milliseconds
blinkStyle blinkStyle BlinkAnimationBlinkStyle.Blink_Frequency optional Flash type
blinkNumber Number 0 optional Number of flashes
replaceStyle replaceStyle BlinkAnimationReplaceStyle.Replace_NoColor optional Color alternating type
startColor startColor new Color(0,0,1,1) optional Start color, default is blue
endColor endColor new Color(1,0,0,1) optional End color, default is red

Members

blinkInterval : Number

Flashing interval
Default Value: 500 milliseconds

blinkNumber : Number

Number of flashes
Default Value: 0
Flash type
Default Value: Blink_Frequency

duration : Number

Animation duration in seconds
Default Value: 0

endColor : Color

End color, default is red
Default Value: Color(1,0,0,1)

name : String

Animated name, unique identifier of the animation
Default Value: ""

repeat : Boolean

Whether to repeat the loop play, the default is false
Default Value: false
Flashing color alternate type
Default Value: Replace_NoColor

startColor : Color

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

startTime : Number

Animation start time in seconds
Default Value: 0

Methods

destroy()

Destroy objects and free up resources.

getGOAnimationType()GOAnimationType

Get the animation type
Returns:
Animation type

pause()

Pause animation

play()

Play animation

reset()

Reset animation

setAnimationName(name)Boolean

Set the animation name
Name Type Description
name String Animation name
Returns:
Whether the setting is successful

stop()

Stop animation