com.aspose.slides.pptx.animation
Class MotionCmdPathEx

java.lang.Object
  extended by com.aspose.slides.pptx.animation.MotionCmdPathEx

public class MotionCmdPathEx
extends java.lang.Object

Single motion command of a path.


Constructor Summary
MotionCmdPathEx(MotionCommandPathTypeEx type, java.awt.geom.Point2D.Float[] pts, MotionPathPointsTypeEx typePts, boolean bRelCoord)
          Creates new motion sub path.
 
Method Summary
 MotionCommandPathTypeEx getCommandType()
          Returns the type of a motion sub path.
 java.awt.geom.Point2D.Float[] getPoints()
          Returns the points of a motion sub path.
 MotionPathPointsTypeEx getPointsType()
          Returns the points type of a sub path.
 boolean isRelative()
          Determines whether the sub path coordinates are relative.
 void setCommandType(MotionCommandPathTypeEx value)
          Sets the type of a motion sub path.
 void setPoints(java.awt.geom.Point2D.Float[] value)
          Sets the points of a motion sub path.
 void setPointsType(MotionPathPointsTypeEx value)
          Sets the points type of a sub path.
 void setRelative(boolean value)
          Sets whether the sub path coordinates are relative.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MotionCmdPathEx

public MotionCmdPathEx(MotionCommandPathTypeEx type,
                       java.awt.geom.Point2D.Float[] pts,
                       MotionPathPointsTypeEx typePts,
                       boolean bRelCoord)
Creates new motion sub path.

Parameters:
type -
pts -
typePts -
bRelCoord -
Method Detail

getPoints

public java.awt.geom.Point2D.Float[] getPoints()
Returns the points of a motion sub path.


setPoints

public void setPoints(java.awt.geom.Point2D.Float[] value)
Sets the points of a motion sub path.


getCommandType

public MotionCommandPathTypeEx getCommandType()
Returns the type of a motion sub path.


setCommandType

public void setCommandType(MotionCommandPathTypeEx value)
Sets the type of a motion sub path.

Parameters:
value - new type of a motion sub path.

isRelative

public boolean isRelative()
Determines whether the sub path coordinates are relative.


setRelative

public void setRelative(boolean value)
Sets whether the sub path coordinates are relative.


getPointsType

public MotionPathPointsTypeEx getPointsType()
Returns the points type of a sub path.


setPointsType

public void setPointsType(MotionPathPointsTypeEx value)
Sets the points type of a sub path.