com.supermap.mobjects.animation
类 AnimationGO
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.mobjects.animation.AnimationGO
-
- 所有已实现的接口:
- IDisposable
- 直接已知子类:
- AnimationBlink, AnimationGrow, AnimationHide, AnimationMoveIn, AnimationMoveOut, AnimationMoveView, AnimationReduce, AnimationShow, AnimationWayBase, AnimationZoomIn, AnimationZoomOut, BaseAnimationAttribute, BaseAnimationBlink, BaseAnimationGrow, BaseAnimationRotate, BaseAnimationScale, BaseAnimationShow, BaseAnimationWay
public class AnimationGO extends com.supermap.data.InternalHandleDisposable
所有动画的基类。该类提供了所有动画共有的的一系列属性。
-
-
构造器概要
构造器 构造器和说明 AnimationGO(long handle)
通过动画句柄构造函数
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 void
dispose()
释放MGAnimationGOExp对象GeoGraphicObject
getAnimation2DGeometry()
获取动画的二维几何对象GeoGraphicObject
getAnimation3DGeometry()
获取动画的三维几何对象AnimationDefine.AnimationType
getAnimationType()
获取动画的类型String
getCaption()
获取动画的别名double
getComplete()
根据时间获取动画当前的比例double
getDuration()
获取动画的播放时长String
getGeometryUuID()
获取动画的Geometry对象UUIDString
getName()
获取动画的名称AnimationDefine.AnimationPlayType
getPlayType()
获取动画的播放类型double
getStartTime()
获取动画的开始播放时间void
setCaption(String caption)
设置动画的别名boolean
setDuration(double Timelong)
设置动画的播放时长void
setPlayType(AnimationDefine.AnimationPlayType playType)
设置动画的播放类型boolean
setStartTime(double nStartTime)
设置动画的开始播放时间
-
-
-
方法详细资料
-
getAnimationType
public AnimationDefine.AnimationType getAnimationType()
获取动画的类型- 返回:
- 动画类型
-
getName
public String getName()
获取动画的名称- 返回:
- 动画的名称
-
getCaption
public String getCaption()
获取动画的别名- 返回:
- 动画的别名
-
setCaption
public void setCaption(String caption)
设置动画的别名- 参数:
caption
- 动画的别名
-
setStartTime
public boolean setStartTime(double nStartTime)
设置动画的开始播放时间- 参数:
nStartTime
- 动画的开始播放时间- 返回:
- 设置成功返回TRUE,否则返回FALSE
-
getStartTime
public double getStartTime()
获取动画的开始播放时间- 返回:
- 动画的开始播放时间
-
setDuration
public boolean setDuration(double Timelong)
设置动画的播放时长- 参数:
Timelong
- 动画的播放时长- 返回:
- 设置成功返回TRUE,否则返回FALSE
-
getDuration
public double getDuration()
获取动画的播放时长- 返回:
- 动画的播放时长
-
getComplete
public double getComplete()
根据时间获取动画当前的比例- 返回:
- 动画当前的比例
-
getGeometryUuID
public String getGeometryUuID()
获取动画的Geometry对象UUID- 返回:
- Geometry对象UUID
-
getPlayType
public AnimationDefine.AnimationPlayType getPlayType()
获取动画的播放类型- 返回:
- 动画的播放类型
-
setPlayType
public void setPlayType(AnimationDefine.AnimationPlayType playType)
设置动画的播放类型- 参数:
playType
- 动画的播放类型
-
getAnimation2DGeometry
public GeoGraphicObject getAnimation2DGeometry()
获取动画的二维几何对象- 返回:
- 动画的二维几何对象
-
getAnimation3DGeometry
public GeoGraphicObject getAnimation3DGeometry()
获取动画的三维几何对象- 返回:
- 动画的三维几何对象
-
dispose
public void dispose()
释放MGAnimationGOExp对象
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.