com.aspose.slides
Class MotionEffect

java.lang.Object
  extended by com.aspose.slides.Behavior
      extended by com.aspose.slides.MotionEffect
All Implemented Interfaces:
IBehavior, IMotionEffect

public class MotionEffect
extends Behavior
implements IMotionEffect

Represent motion effect behavior of effect.


Constructor Summary
MotionEffect()
           
 
Method Summary
 float getAngle()
           Describes the relative angle of the motion path.
 IBehavior getAsIBehavior()
           
 java.awt.geom.Point2D.Float getBy()
           
 java.awt.geom.Point2D.Float getFrom()
           
 int getOrigin()
           Specifies what the origin of the motion path is relative to such as the layout of the slide, or the parent.
 IMotionPath getPath()
           Specifies the path primitive followed by coordinates for the animation motion.
 int getPathEditMode()
           Specifies how the motion path moves when shape is moved.
 java.awt.geom.Point2D.Float getRotationCenter()
           
 java.awt.geom.Point2D.Float getTo()
           
 void setAngle(float value)
           
 void setBy(java.awt.geom.Point2D.Float value)
           
 void setFrom(java.awt.geom.Point2D.Float value)
           
 void setOrigin(int value)
           
 void setPath(IMotionPath value)
           
 void setPathEditMode(int value)
           
 void setRotationCenter(java.awt.geom.Point2D.Float value)
           
 void setTo(java.awt.geom.Point2D.Float value)
           
 
Methods inherited from class com.aspose.slides.Behavior
getAccumulate, getAdditive, getProperties, getTiming, setAccumulate, setAdditive, setTiming
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aspose.slides.IBehavior
getAccumulate, getAdditive, getProperties, getTiming, setAccumulate, setAdditive, setTiming
 

Constructor Detail

MotionEffect

public MotionEffect()
Method Detail

getFrom

public java.awt.geom.Point2D.Float getFrom()
Specified by:
getFrom in interface IMotionEffect

setFrom

public void setFrom(java.awt.geom.Point2D.Float value)
Specified by:
setFrom in interface IMotionEffect

getTo

public java.awt.geom.Point2D.Float getTo()
Specified by:
getTo in interface IMotionEffect

setTo

public void setTo(java.awt.geom.Point2D.Float value)
Specified by:
setTo in interface IMotionEffect

getBy

public java.awt.geom.Point2D.Float getBy()
Specified by:
getBy in interface IMotionEffect

setBy

public void setBy(java.awt.geom.Point2D.Float value)
Specified by:
setBy in interface IMotionEffect

getRotationCenter

public java.awt.geom.Point2D.Float getRotationCenter()
Specified by:
getRotationCenter in interface IMotionEffect

setRotationCenter

public void setRotationCenter(java.awt.geom.Point2D.Float value)
Specified by:
setRotationCenter in interface IMotionEffect

getOrigin

public int getOrigin()

Specifies what the origin of the motion path is relative to such as the layout of the slide, or the parent. Read/write MotionOriginType.

Specified by:
getOrigin in interface IMotionEffect

setOrigin

public void setOrigin(int value)
Specified by:
setOrigin in interface IMotionEffect

getPath

public IMotionPath getPath()

Specifies the path primitive followed by coordinates for the animation motion. Read/write MotionPath.

Specified by:
getPath in interface IMotionEffect

setPath

public void setPath(IMotionPath value)
Specified by:
setPath in interface IMotionEffect

getPathEditMode

public int getPathEditMode()

Specifies how the motion path moves when shape is moved. Read/write MotionPathEditMode.

Specified by:
getPathEditMode in interface IMotionEffect

setPathEditMode

public void setPathEditMode(int value)
Specified by:
setPathEditMode in interface IMotionEffect

getAngle

public float getAngle()

Describes the relative angle of the motion path. Read/write float.

Specified by:
getAngle in interface IMotionEffect

setAngle

public void setAngle(float value)
Specified by:
setAngle in interface IMotionEffect

getAsIBehavior

public IBehavior getAsIBehavior()