Add
IMotionPath.Add 方法
向路径添加新命令
public IMotionCmdPath Add(MotionCommandPathType type, PointF[] pts, MotionPathPointsType ptsType,
bool bRelativeCoord)
参数 | 类型 | 描述 |
---|---|---|
type | MotionCommandPathType | 动画运动效果行为的命令类型 MotionCommandPathType |
pts | PointF[] | Points 数组 PointF[] |
ptsType | MotionPathPointsType | 动画运动路径中的点类型 MotionPathPointsType |
bRelativeCoord | Boolean | 指示是否使用相对坐标 Boolean |
返回值
路径的命令 IMotionCmdPath