|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object com.supermap.plot.AnimationWay
public class AnimationWay
路径动画类。该类提供了路径动画的一系列属性。
构造方法摘要 | |
---|---|
AnimationWay()
|
方法摘要 | |
---|---|
boolean |
addPathPt(Point3D vecPath)
添加路径点 |
boolean |
addPathPts(Point3Ds pts3D)
添加路径点 |
Point3Ds |
getAllPathPt()
获取所有路径点 |
int |
getPathPtCount()
获取路径点的总数 |
boolean |
getPathTrackDir()
获取动画对象是否沿路径的切线方向 |
AnimationDefine.PathType |
getPathType()
获取路径类型 |
java.awt.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(java.awt.Color nColor)
设置跟踪线的颜色 |
void |
setTrackLineWidth(java.lang.Double width)
设置路径跟踪线的宽度 |
void |
showPathTrack(boolean bShowPathTrack)
设置是否显示跟踪线 |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public AnimationWay()
方法详细信息 |
---|
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(java.awt.Color nColor)
nColor
- 跟踪线的颜色public java.awt.Color getTrackLineColor()
public Point3Ds getAllPathPt()
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |