Class: GOAnimationBlink

L.supermap.plotting.GOAnimationBlink

动态标绘闪烁动画类。

leaflet/animation/GOAnimationBlink.js, line 8
Name Type Description
options Object

闪烁动画参数。

Name Type Default Description
name string 可选

动画名称。

startTime number 0.0 可选

动画开始时间。

duration number 5 可选

动画时长,以秒为单位。

repeat boolean false 可选

是否循环播放动画。

blinkInterval number 500 可选

闪烁间隔,单位为毫秒。

blinkStyle SuperMap.Plot.BlinkAnimationBlinkStyle SuperMap.Plot.BlinkAnimationBlinkStyle.Blink_Frequency 可选

闪烁类型。

blinkNumber number 0 可选

闪烁次数。

replaceStyle SuperMap.Plot.BlinkAnimationReplaceStyle SuperMap.Plot.BlinkAnimationReplaceStyle.Replace_NoColor 可选

颜色交替类型。

startColor string "#0000FF" 可选

开始颜色。

endColor string "#FF0000" 可选

结束颜色。

Extends

Members

blinkIntervalnumber

闪烁间隔,单位为毫秒。

blinkNumbernumber

闪烁次数。

闪烁类型。

durationDouble

动画时长,单位为秒。

endColorstring

结束颜色,默认为红色。

namestring

动画名称,动画的唯一标识。

repeatboolean

是否重复循环播放,默认为false。

颜色交替类型。

startColorstring

开始颜色,默认为蓝色。

startTimeDouble

动画开始时间,单位为秒。

Methods

inherited destroy()

leaflet/animation/GOAnimation.js, line 97

销毁对象,释放资源。

getGOAnimationType(){SuperMap.Plot.GOAnimationType}

leaflet/animation/GOAnimationBlink.js, line 63

获取动画类型。

Returns:
Type Description
SuperMap.Plot.GOAnimationType 动画类型。

inherited getGOFeature(){L.supermap.plotting.GraphicObject}

leaflet/animation/GOAnimation.js, line 169

获取动画的原始几何对象。

Returns:
Type Description
L.supermap.plotting.GraphicObject 动画原始几何对象。

inherited pause()

leaflet/animation/GOAnimation.js, line 210

暂停。

inherited play()

leaflet/animation/GOAnimation.js, line 178

播放。

inherited reset()

leaflet/animation/GOAnimation.js, line 220

复位。

inherited stop()

leaflet/animation/GOAnimation.js, line 202

停止。