IMotionPath

All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericEnumerable

public interface IMotionPath extends System.Collections.Generic.IGenericEnumerable<IMotionCmdPath>

Represent motion path.

Methods

Method Description
add(int type, Point2D.Float[] pts, int ptsType, boolean bRelativeCoord) Add new command to path
getCount() Returns the number of paths in the collection.
insert(int index, int type, Point2D.Float[] pts, int ptsType, boolean bRelativeCoord) Insert new command to path
clear() Removes all commands from the collection.
remove(IMotionCmdPath item) Removes specified commans from the collection.
removeAt(int index) Removes a command at the specified index.
get_Item(int index) Returns a command at the specified index.

add(int type, Point2D.Float[] pts, int ptsType, boolean bRelativeCoord)

public abstract IMotionCmdPath add(int type, Point2D.Float[] pts, int ptsType, boolean bRelativeCoord)

Add new command to path

Parameters:

Parameter Type Description
type int Type of command for animation motion effect behavior MotionCommandPathType
pts java.awt.geom.Point2D.Float[] Points array java.awt.geom.Point2D.Float[]
ptsType int Type of points in animation motion path MotionPathPointsType
bRelativeCoord boolean Indicates whether to use relative coordinates or not boolean

Returns: IMotionCmdPath - Command of a path IMotionCmdPath

getCount()

public abstract int getCount()

Returns the number of paths in the collection. Read-only int.

Returns: int

insert(int index, int type, Point2D.Float[] pts, int ptsType, boolean bRelativeCoord)

public abstract void insert(int index, int type, Point2D.Float[] pts, int ptsType, boolean bRelativeCoord)

Insert new command to path

Parameters:

Parameter Type Description
index int Index for command insertion int
type int Type of command for animation motion effect behavior MotionCommandPathType
pts java.awt.geom.Point2D.Float[] Points array java.awt.geom.Point2D.Float[]
ptsType int Type of points in animation motion path MotionPathPointsType
bRelativeCoord boolean Indicates whether to use relative coordinates or not boolean

clear()

public abstract void clear()

Removes all commands from the collection.

remove(IMotionCmdPath item)

public abstract void remove(IMotionCmdPath item)

Removes specified commans from the collection.

Parameters:

Parameter Type Description
item IMotionCmdPath Motion path to remove IMotionCmdPath

removeAt(int index)

public abstract void removeAt(int index)

Removes a command at the specified index.

Parameters:

Parameter Type Description
index int Index for removing command int

get_Item(int index)

public abstract IMotionCmdPath get_Item(int index)

Returns a command at the specified index.

Parameters:

Parameter Type Description
index int Index of element.

Returns: IMotionCmdPath - Command at specified index IMotionCmdPath