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,
android.graphics.PointF[] 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,
android.graphics.PointF[] pts,
int ptsType,
boolean bRelativeCoord)
Insert new command to path
|
void |
remove(IMotionCmdPath item)
Removes specified commans from the collection.
|
void |
removeAt(int index)
Removes a command at the specified index.
|
IMotionCmdPath add(int type, android.graphics.PointF[] pts, int ptsType, boolean bRelativeCoord)
Add new command to path
type
- Type of command for animation motion effect behavior MotionCommandPathType
pts
- Points array android.graphics.PointF[]
ptsType
- Type of points in animation motion path MotionPathPointsType
bRelativeCoord
- Indicates whether to use relative coordinates or not boolean
IMotionCmdPath
int getCount()
Returns the number of paths in the collection.
Read-only int
.
void insert(int index, int type, android.graphics.PointF[] pts, int ptsType, boolean bRelativeCoord)
Insert new command to path
index
- Index for command insertion int
type
- Type of command for animation motion effect behavior MotionCommandPathType
pts
- Points array android.graphics.PointF[]
ptsType
- Type of points in animation motion path MotionPathPointsType
bRelativeCoord
- Indicates whether to use relative coordinates or not boolean
void clear()
Removes all commands from the collection.
void remove(IMotionCmdPath item)
Removes specified commans from the collection.
item
- Motion path to remove IMotionCmdPath
void removeAt(int index)
Removes a command at the specified index.
index
- Index for removing command int
IMotionCmdPath get_Item(int index)
Returns a command at the specified index.
index
- Index of element.IMotionCmdPath