public class MotionEffect extends Behavior implements IMotionEffect
Represent motion effect behavior of effect.
Constructor and Description |
---|
MotionEffect() |
Modifier and Type | Method and Description |
---|---|
float |
getAngle()
Describes the relative angle of the motion path.
|
java.awt.geom.Point2D.Float |
getBy()
Describes the relative offset value for the animation (in percents).
|
java.awt.geom.Point2D.Float |
getFrom()
Specifies an x/y co-ordinate to start the animation from (in percents).
|
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()
Describes the center of the rotation used to rotate a motion path by X angle.
|
java.awt.geom.Point2D.Float |
getTo()
Specifies the target location for an animation motion effect (in percents).
|
void |
setAngle(float value)
Describes the relative angle of the motion path.
|
void |
setBy(java.awt.geom.Point2D.Float value)
Describes the relative offset value for the animation (in percents).
|
void |
setFrom(java.awt.geom.Point2D.Float value)
Specifies an x/y co-ordinate to start the animation from (in percents).
|
void |
setOrigin(int value)
Specifies what the origin of the motion path is relative to such as the layout of the slide,
or the parent.
|
void |
setPath(IMotionPath value)
Specifies the path primitive followed by coordinates for the animation motion.
|
void |
setPathEditMode(int value)
Specifies how the motion path moves when shape is moved.
|
void |
setRotationCenter(java.awt.geom.Point2D.Float value)
Describes the center of the rotation used to rotate a motion path by X angle.
|
void |
setTo(java.awt.geom.Point2D.Float value)
Specifies the target location for an animation motion effect (in percents).
|
getAccumulate, getAdditive, getParent_Immediate, getProperties, getTiming, setAccumulate, setAdditive, setTiming
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAccumulate, getAdditive, getProperties, getTiming, setAccumulate, setAdditive, setTiming
public final java.awt.geom.Point2D.Float getFrom()
Specifies an x/y co-ordinate to start the animation from (in percents).
Read/write Point2D.Float
.
getFrom
in interface IMotionEffect
public final void setFrom(java.awt.geom.Point2D.Float value)
Specifies an x/y co-ordinate to start the animation from (in percents).
Read/write Point2D.Float
.
setFrom
in interface IMotionEffect
public final java.awt.geom.Point2D.Float getTo()
Specifies the target location for an animation motion effect (in percents).
Read/write Point2D.Float
.
getTo
in interface IMotionEffect
public final void setTo(java.awt.geom.Point2D.Float value)
Specifies the target location for an animation motion effect (in percents).
Read/write Point2D.Float
.
setTo
in interface IMotionEffect
public final java.awt.geom.Point2D.Float getBy()
Describes the relative offset value for the animation (in percents).
Read/write Point2D.Float
.
getBy
in interface IMotionEffect
public final void setBy(java.awt.geom.Point2D.Float value)
Describes the relative offset value for the animation (in percents).
Read/write Point2D.Float
.
setBy
in interface IMotionEffect
public final java.awt.geom.Point2D.Float getRotationCenter()
Describes the center of the rotation used to rotate a motion path by X angle.
Read/write Point2D.Float
.
getRotationCenter
in interface IMotionEffect
public final void setRotationCenter(java.awt.geom.Point2D.Float value)
Describes the center of the rotation used to rotate a motion path by X angle.
Read/write Point2D.Float
.
setRotationCenter
in interface IMotionEffect
public final 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
.
getOrigin
in interface IMotionEffect
public final void setOrigin(int value)
Specifies what the origin of the motion path is relative to such as the layout of the slide,
or the parent.
Read/write MotionOriginType
.
setOrigin
in interface IMotionEffect
public final IMotionPath getPath()
Specifies the path primitive followed by coordinates for the animation motion.
Read/write IMotionPath
.
getPath
in interface IMotionEffect
public final void setPath(IMotionPath value)
Specifies the path primitive followed by coordinates for the animation motion.
Read/write IMotionPath
.
setPath
in interface IMotionEffect
public final int getPathEditMode()
Specifies how the motion path moves when shape is moved.
Read/write MotionPathEditMode
.
getPathEditMode
in interface IMotionEffect
public final void setPathEditMode(int value)
Specifies how the motion path moves when shape is moved.
Read/write MotionPathEditMode
.
setPathEditMode
in interface IMotionEffect
public final float getAngle()
Describes the relative angle of the motion path.
Read/write float
.
getAngle
in interface IMotionEffect
public final void setAngle(float value)
Describes the relative angle of the motion path.
Read/write float
.
setAngle
in interface IMotionEffect