com.aspose.slides
Class MotionPathEx

java.lang.Object
  extended by com.aspose.slides.MotionPathEx
All Implemented Interfaces:
com.aspose.ms.System.Collections.IEnumerable, java.lang.Iterable

public class MotionPathEx
extends java.lang.Object
implements com.aspose.ms.System.Collections.IEnumerable

Represent motion path.


Constructor Summary
MotionPathEx()
           
 
Method Summary
 int 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.
 MotionCmdPathEx 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
 com.aspose.ms.System.Collections.IEnumerator iterator()
           Returns an iterator for the collection.
 void remove(MotionCmdPathEx item)
           Removes specified commans from the collection.
 void removeAt(int index)
           Removes a command at the specified index.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MotionPathEx

public MotionPathEx()
Method Detail

add

public int add(int type,
               java.awt.geom.Point2D.Float[] pts,
               int ptsType,
               boolean bRelativeCoord)

Add new command to path

Parameters:
type -
pts -
ptsType -
bRelativeCoord -

getCount

public int getCount()

Returns the number of paths in the collection.


insert

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

Insert new command to path

Parameters:
index -
type -
pts -
ptsType -
bRelativeCoord -

clear

public void clear()

Removes all commands from the collection.


remove

public void remove(MotionCmdPathEx item)

Removes specified commans from the collection.

Parameters:
item - Motion path to remove.

removeAt

public void removeAt(int index)

Removes a command at the specified index.

Parameters:
index -

get_Item

public MotionCmdPathEx get_Item(int index)

Returns a command at the specified index.

Parameters:
index -
Returns:

iterator

public com.aspose.ms.System.Collections.IEnumerator iterator()

Returns an iterator for the collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable
Specified by:
iterator in interface java.lang.Iterable
Returns:
Iterator.