com.supermap.plot
类 AnimationWay
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.plot.AnimationGO
-
- com.supermap.plot.AnimationWay
-
public class AnimationWay extends AnimationGO
路径动画
-
-
构造器概要
构造器 构造器和说明 AnimationWay()
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 booleanaddPathPt(Point3D vecPath)添加路径点booleanaddPathPts(Point3Ds pts3D)添加路径点组Point3DsgetAllPathPt()获取所有路径点intgetPathPtCount()获取路径点个数booleangetPathTrackDir()获取是否设置切线方向AnimationDefine.PathTypegetPathType()获取路径类型ColorgetTrackLineColor()获取路径线线色doublegetTrackLineWidth()获取路径线线宽booleaninsertPathPt(int index, Point3D vecPath)插入路径点booleanisShowPathTrack()获取是否显示路径voidremoveAllPathPt()移除所有路径点booleanremovePathPtAt(int index)移除指定序列号路径点booleansetPathPt(int index, Point3D vecPath)设置指定序列号路径点voidsetPathTrackDir(boolean bPathTrack)是否设置切线方向voidsetPathType(AnimationDefine.PathType pathType)设置路径类型voidsetTrackLineColor(Color nColor)设置路径线线色voidsetTrackLineWidth(java.lang.Double width)设置路径线线宽voidshowPathTrack(boolean bShowPathTrack)设置是否显示路径-
从类继承的方法 com.supermap.plot.AnimationGO
dispose, fromXml, getAnimationType, getDuration, getGeometry, getLayerName, getName, getStartTime, setDuration, setGeometry, setName, setStartTime, toXml
-
-
-
-
方法详细资料
-
setPathType
public void setPathType(AnimationDefine.PathType pathType)
设置路径类型- 参数:
pathType- 路径类型
-
getPathType
public AnimationDefine.PathType getPathType()
获取路径类型- 返回:
- 路径类型
-
addPathPt
public boolean addPathPt(Point3D vecPath)
添加路径点- 参数:
vecPath- 路径点- 返回:
- 添加是否成功
-
addPathPts
public boolean addPathPts(Point3Ds pts3D)
添加路径点组- 参数:
pts3D- 路径点组- 返回:
- 添加是否成功
-
insertPathPt
public boolean insertPathPt(int index, Point3D vecPath)插入路径点- 参数:
index- 插入位置vecPath- 路径点- 返回:
- 插入是否成功
-
setPathPt
public boolean setPathPt(int index, Point3D vecPath)设置指定序列号路径点- 参数:
index- 序列号vecPath- 路径点- 返回:
- 是否成功
-
removePathPtAt
public boolean removePathPtAt(int index)
移除指定序列号路径点- 参数:
index- 序列号- 返回:
- 移除是否成功
-
getPathPtCount
public int getPathPtCount()
获取路径点个数- 返回:
- 个数
-
removeAllPathPt
public void removeAllPathPt()
移除所有路径点
-
showPathTrack
public void showPathTrack(boolean bShowPathTrack)
设置是否显示路径- 参数:
bShowPathTrack- 显示路径
-
isShowPathTrack
public boolean isShowPathTrack()
获取是否显示路径- 返回:
- 显示路径
-
setPathTrackDir
public void setPathTrackDir(boolean bPathTrack)
是否设置切线方向- 参数:
bPathTrack- 切线方向
-
getPathTrackDir
public boolean getPathTrackDir()
获取是否设置切线方向- 返回:
- 切线方向
-
setTrackLineWidth
public void setTrackLineWidth(java.lang.Double width)
设置路径线线宽- 参数:
width- 路径线线宽
-
getTrackLineWidth
public double getTrackLineWidth()
获取路径线线宽- 返回:
- 路径线线宽
-
setTrackLineColor
public void setTrackLineColor(Color nColor)
设置路径线线色- 参数:
nColor- 路径线线色
-
getTrackLineColor
public Color getTrackLineColor()
获取路径线线色- 返回:
- 路径线线色
-
getAllPathPt
public Point3Ds getAllPathPt()
获取所有路径点- 返回:
- 路径点组
-
-