IMotionPath
IMotionPath 接口
表示运动路径。
public interface IMotionPath : IEnumerable<IMotionCmdPath>
属性
| 名称 | 描述 |
|---|---|
| AsIEnumerable { get; } | 允许获取基础 IBehavior 接口。只读 IEnumerable。 |
| Count { get; } | 返回集合中的路径数量。只读 Int32。 |
| Item { get; } | 返回指定索引处的命令。 |
方法
| 名称 | 描述 |
|---|---|
| Add(MotionCommandPathType, PointF[], MotionPathPointsType, bool) | 向路径添加新命令 |
| Clear() | 从集合中移除所有命令。 |
| Insert(int, MotionCommandPathType, PointF[], MotionPathPointsType, bool) | 向路径插入新命令 |
| Remove(IMotionCmdPath) | 从集合中移除指定的命令。 |
| RemoveAt(int) | 移除指定索引处的命令。 |