public class AnimationWay extends AnimationGO
构造器和说明 |
---|
AnimationWay() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
addPathPt(Point3D vecPath)
添加路径点
|
boolean |
addPathPts(Point3Ds pts3D)
添加路径点组
|
Point3Ds |
getAllPathPt()
获取所有路径点
|
int |
getPathPtCount()
获取路径点个数
|
boolean |
getPathTrackDir()
获取是否设置切线方向
|
AnimationDefine.PathType |
getPathType()
获取路径类型
|
Color |
getTrackLineColor()
获取路径线线色
|
double |
getTrackLineWidth()
获取路径线线宽
|
boolean |
insertPathPt(int index, Point3D vecPath)
插入路径点
|
boolean |
isShowPathTrack()
获取是否显示路径
|
void |
removeAllPathPt()
移除所有路径点
|
boolean |
removePathPtAt(int index)
移除指定序列号路径点
|
boolean |
setPathPt(int index, Point3D vecPath)
设置指定序列号路径点
|
void |
setPathTrackDir(boolean bPathTrack)
是否设置切线方向
|
void |
setPathType(AnimationDefine.PathType pathType)
设置路径类型
|
void |
setTrackLineColor(Color nColor)
设置路径线线色
|
void |
setTrackLineWidth(java.lang.Double width)
设置路径线线宽
|
void |
showPathTrack(boolean bShowPathTrack)
设置是否显示路径
|
dispose, fromXml, getAnimationType, getDuration, getGeometry, getLayerName, getName, getStartTime, setDuration, setGeometry, setName, setStartTime, toXml
public void setPathType(AnimationDefine.PathType pathType)
pathType
- 路径类型public AnimationDefine.PathType getPathType()
public boolean addPathPt(Point3D vecPath)
vecPath
- 路径点public boolean addPathPts(Point3Ds pts3D)
pts3D
- 路径点组public boolean insertPathPt(int index, Point3D vecPath)
index
- 插入位置vecPath
- 路径点public boolean setPathPt(int index, Point3D vecPath)
index
- 序列号vecPath
- 路径点public boolean removePathPtAt(int index)
index
- 序列号public int getPathPtCount()
public void removeAllPathPt()
public void showPathTrack(boolean bShowPathTrack)
bShowPathTrack
- 显示路径public boolean isShowPathTrack()
public void setPathTrackDir(boolean bPathTrack)
bPathTrack
- 切线方向public boolean getPathTrackDir()
public void setTrackLineWidth(java.lang.Double width)
width
- 路径线线宽public double getTrackLineWidth()
public void setTrackLineColor(Color nColor)
nColor
- 路径线线色public Color getTrackLineColor()
public Point3Ds getAllPathPt()