public interface IMotionPath extends com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IMotionCmdPath>
Represent motion path.
Modifier and Type | Method and Description |
---|---|
IMotionCmdPath |
add(int type,
java.awt.geom.Point2D.Float[] pts,
int ptsType,
boolean bRelativeCoord)
Add new command to path
|
void |
clear()
Removes all commands from the collection.
|
IMotionCmdPath |
get_Item(int index)
Returns a command at the specified index.
|
int |
getCount()
Returns the number of paths in the collection.
|
void |
insert(int index,
int type,
java.awt.geom.Point2D.Float[] pts,
int ptsType,
boolean bRelativeCoord)
Insert new command to path
|
void |
remove(IMotionCmdPath item)
Removes specified commands from the collection.
|
void |
removeAt(int index)
Removes a command at the specified index.
|
IMotionCmdPath add(int type, java.awt.geom.Point2D.Float[] pts, int ptsType, boolean bRelativeCoord)
Add new command to path
type
- MotionCommandPathType
pts
- Array of pointsptsType
- MotionPathPointsType
bRelativeCoord
- Relative coordinates boolean
int getCount()
Returns the number of paths in the collection.
Read-only int
.
void insert(int index, int type, java.awt.geom.Point2D.Float[] pts, int ptsType, boolean bRelativeCoord)
Insert new command to path
index
- The zero-based index at which item should be inserted.type
- MotionCommandPathType
pts
- Array of pointsptsType
- MotionPathPointsType
bRelativeCoord
- Relative coordinates boolean
void clear()
Removes all commands from the collection.
void remove(IMotionCmdPath item)
Removes specified commands from the collection.
item
- Motion path to remove.void removeAt(int index)
Removes a command at the specified index.
index
- Index of a command that should be deleted.IMotionCmdPath get_Item(int index)
Returns a command at the specified index.
index
- Index of element.IMotionCmdPath
object.