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.
|
android.graphics.PointF |
getBy()
Describes the relative offset value for the animation (in percents).
|
android.graphics.PointF |
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.
|
android.graphics.PointF |
getRotationCenter()
Describes the center of the rotation used to rotate a motion path by X angle.
|
android.graphics.PointF |
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(android.graphics.PointF value)
Describes the relative offset value for the animation (in percents).
|
void |
setFrom(android.graphics.PointF 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(android.graphics.PointF value)
Describes the center of the rotation used to rotate a motion path by X angle.
|
void |
setTo(android.graphics.PointF value)
Specifies the target location for an animation motion effect (in percents).
|
getAccumulate, getAdditive, getParent_Immediate, getProperties, getTiming, setAccumulate, setAdditive, setTimingequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccumulate, getAdditive, getProperties, getTiming, setAccumulate, setAdditive, setTimingpublic final android.graphics.PointF getFrom()
Specifies an x/y co-ordinate to start the animation from (in percents).
Read/write PointF.
getFrom in interface IMotionEffectpublic final void setFrom(android.graphics.PointF value)
Specifies an x/y co-ordinate to start the animation from (in percents).
Read/write PointF.
setFrom in interface IMotionEffectpublic final android.graphics.PointF getTo()
Specifies the target location for an animation motion effect (in percents).
Read/write PointF.
getTo in interface IMotionEffectpublic final void setTo(android.graphics.PointF value)
Specifies the target location for an animation motion effect (in percents).
Read/write PointF.
setTo in interface IMotionEffectpublic final android.graphics.PointF getBy()
Describes the relative offset value for the animation (in percents).
Read/write PointF.
getBy in interface IMotionEffectpublic final void setBy(android.graphics.PointF value)
Describes the relative offset value for the animation (in percents).
Read/write PointF.
setBy in interface IMotionEffectpublic final android.graphics.PointF getRotationCenter()
Describes the center of the rotation used to rotate a motion path by X angle.
Read/write PointF.
getRotationCenter in interface IMotionEffectpublic final void setRotationCenter(android.graphics.PointF value)
Describes the center of the rotation used to rotate a motion path by X angle.
Read/write PointF.
setRotationCenter in interface IMotionEffectpublic 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 IMotionEffectpublic 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 IMotionEffectpublic final IMotionPath getPath()
Specifies the path primitive followed by coordinates for the animation motion.
Read/write IMotionPath.
getPath in interface IMotionEffectpublic final void setPath(IMotionPath value)
Specifies the path primitive followed by coordinates for the animation motion.
Read/write IMotionPath.
setPath in interface IMotionEffectpublic final int getPathEditMode()
Specifies how the motion path moves when shape is moved.
Read/write MotionPathEditMode.
getPathEditMode in interface IMotionEffectpublic final void setPathEditMode(int value)
Specifies how the motion path moves when shape is moved.
Read/write MotionPathEditMode.
setPathEditMode in interface IMotionEffectpublic final float getAngle()
Describes the relative angle of the motion path.
Read/write float.
getAngle in interface IMotionEffectpublic final void setAngle(float value)
Describes the relative angle of the motion path.
Read/write float.
setAngle in interface IMotionEffectCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.