com.aspose.slides
Class MotionPath

java.lang.Object
  extended by com.aspose.slides.MotionPath
All Implemented Interfaces:
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IMotionCmdPath>, com.aspose.ms.System.Collections.IEnumerable<IMotionCmdPath>, IMotionPath, java.lang.Iterable<IMotionCmdPath>

public class MotionPath
extends java.lang.Object
implements IMotionPath

Represent motion path.


Constructor Summary
MotionPath()
           
 
Method Summary
 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
 com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IMotionCmdPath> iterator()
           Returns an enumerator that iterates through the collection.
 void remove(IMotionCmdPath 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

MotionPath

public MotionPath()
Method Detail

add

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

Add new command to path

Specified by:
add in interface IMotionPath
Parameters:
type -
pts -
ptsType -
bRelativeCoord -

getCount

public int getCount()

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

Specified by:
getCount in interface IMotionPath

insert

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

Insert new command to path

Specified by:
insert in interface IMotionPath
Parameters:
index -
type -
pts -
ptsType -
bRelativeCoord -

clear

public void clear()

Removes all commands from the collection.

Specified by:
clear in interface IMotionPath

remove

public void remove(IMotionCmdPath item)

Removes specified commans from the collection.

Specified by:
remove in interface IMotionPath
Parameters:
item - Motion path to remove.

removeAt

public void removeAt(int index)

Removes a command at the specified index.

Specified by:
removeAt in interface IMotionPath
Parameters:
index -

get_Item

public IMotionCmdPath get_Item(int index)

Returns a command at the specified index.

Specified by:
get_Item in interface IMotionPath
Parameters:
index -
Returns:

iterator

public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IMotionCmdPath> iterator()

Returns an enumerator that iterates through the collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IMotionCmdPath>
Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<IMotionCmdPath>
Specified by:
iterator in interface java.lang.Iterable<IMotionCmdPath>
Returns:
A T:System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.