com.supermap.plot
类 AnimationGO
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.plot.AnimationGO
-
- 所有已实现的接口:
- IDisposable
- 直接已知子类:
- AnimationAttribute, AnimationBlink, AnimationGrow, AnimationRotate, AnimationScale, AnimationShow, AnimationWay
public class AnimationGO extends com.supermap.data.InternalHandleDisposable所有动画的基类。该类提供了所有动画共有的的一系列属性。
-
-
构造器概要
构造器 构造器和说明 AnimationGO(long handle)通过动画句柄构造函数
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 voiddispose()释放AnimationGO对象AnimationDefine.AnimationTypegetAnimationType()获取动画的类型doublegetComplete()根据时间获取动画当前的比例StringgetControlName()获取二维地图控件对象或三维场景对象名称doublegetDuration()获取动画的播放时长intgetGeometryID()取动画的Geometry对象IDStringgetGeometryUuID()获取动画的Geometry对象UUIDStringgetLayerName()获取图层名称StringgetName()获取动画的名称doublegetStartTime()获取动画的开始播放时间voidsetCaption(String caption)设置动画别名booleansetDuration(double Timelong)设置动画的播放时长booleansetGeometry(String geometryUuID)设置添加动画的Geometry对象voidsetGeometry2D(GeoGraphicObject pGeometry3d, MapControl pMapControl, String layerName)该方法已废弃 设置添加动画的Geometry对象voidsetGeometry3D(GeoGraphicObject pGeometry3d, SceneControl pSceneControl, String layerName)该方法已废弃 设置添加动画的Geometry对象booleansetName(String name)设置动画的名称booleansetStartTime(double nStartTime)设置动画的开始播放时间
-
-
-
方法详细资料
-
getAnimationType
public AnimationDefine.AnimationType getAnimationType()
获取动画的类型- 返回:
- 动画类型
-
setGeometry3D
public void setGeometry3D(GeoGraphicObject pGeometry3d, SceneControl pSceneControl, String layerName)
该方法已废弃 设置添加动画的Geometry对象- 参数:
pGeometry3d- 创建动画的Geometry对象pSceneControl- 三维场景对象layerName- 对象所在的图层名
-
setGeometry2D
public void setGeometry2D(GeoGraphicObject pGeometry3d, MapControl pMapControl, String layerName)
该方法已废弃 设置添加动画的Geometry对象- 参数:
pGeometry3d- 创建动画的Geometry对象pMapControl- 二维场景对象layerName- 对象所在的图层名
-
setGeometry
public boolean setGeometry(String geometryUuID)
设置添加动画的Geometry对象- 参数:
geometryUuID- 创建动画的Geometry对象的UUID
-
getGeometryUuID
public String getGeometryUuID()
获取动画的Geometry对象UUID- 返回:
- Geometry对象UUID
-
getGeometryID
public int getGeometryID()
取动画的Geometry对象ID- 返回:
- Geometry对象ID
-
setName
public boolean setName(String name)
设置动画的名称- 参数:
name- 动画的名称- 返回:
- 设置成功返回TRUE,否则返回FALSE
-
getName
public String getName()
获取动画的名称- 返回:
- 动画的名称
-
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()
根据时间获取动画当前的比例- 返回:
- 动画当前的比例
-
getControlName
public String getControlName()
获取二维地图控件对象或三维场景对象名称- 返回:
- 二维地图控件对象或三维场景对象名称
-
getLayerName
public String getLayerName()
获取图层名称- 返回:
- 图层名称
-
setCaption
public void setCaption(String caption)
设置动画别名- 参数:
caption- 动画别名
-
dispose
public void dispose()
释放AnimationGO对象
-
-
Copyright © 2021–2025 SuperMap. All rights reserved.