Class MotionCmdPath
Represents a single command in a motion path — a MoveTo,
LineTo, CurveTo, CloseLoop, or End
segment with its associated control/end points.
Maps to a p:cmd element within p:animMotion/
p:path in the OOXML timing model.
Implements
Inherited Members
Namespace: DRIT.Presentation.Animation
Assembly: DRIT.Presentation.dll
Syntax
public class MotionCmdPath : IMotionCmdPath
Constructors
MotionCmdPath()
Initializes a new instance of the MotionCmdPath class with default values.
Declaration
public MotionCmdPath()
MotionCmdPath(MotionCommandPathType, PointF[], bool)
Initializes a new instance of the MotionCmdPath class with the specified command type and points.
Declaration
public MotionCmdPath(MotionCommandPathType commandType, PointF[] points, bool isRelative = false)
Parameters
| Type | Name | Description |
|---|---|---|
| MotionCommandPathType | commandType | |
| PointF[] | points | |
| bool | isRelative |
Properties
CommandType
Gets or sets the command type associated with this object.
Declaration
public MotionCommandPathType CommandType { get; set; }
Property Value
| Type | Description |
|---|---|
| MotionCommandPathType |
IsRelative
Determine command coordinates relative or not.
Declaration
public bool IsRelative { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Points
Specifies points of command.
Declaration
public PointF[] Points { get; set; }
Property Value
| Type | Description |
|---|---|
| PointF[] |
PointsType
Gets or sets the points type associated with this object.
Declaration
public MotionPathPointsType PointsType { get; set; }
Property Value
| Type | Description |
|---|---|
| MotionPathPointsType |