IMotionEffect
All Implemented Interfaces: com.aspose.slides.IBehavior
public interface IMotionEffect extends IBehavior
Represent motion effect behavior of effect.
Methods
Method | Description |
---|---|
getFrom() | Specifies an x/y co-ordinate to start the animation from (in percents). |
setFrom(Point2D.Float value) | Specifies an x/y co-ordinate to start the animation from (in percents). |
getTo() | Specifies the target location for an animation motion effect (in percents). |
setTo(Point2D.Float value) | Specifies the target location for an animation motion effect (in percents). |
getBy() | Describes the relative offset value for the animation (in percents). |
setBy(Point2D.Float value) | Describes the relative offset value for the animation (in percents). |
getRotationCenter() | Describes the center of the rotation used to rotate a motion path by X angle. |
setRotationCenter(Point2D.Float value) | Describes the center of the rotation used to rotate a motion path by X angle. |
getOrigin() | Specifies what the origin of the motion path is relative to such as the layout of the slide, or the parent. |
setOrigin(int value) | Specifies what the origin of the motion path is relative to such as the layout of the slide, or the parent. |
getPath() | Specifies the path primitive followed by coordinates for the animation motion. |
setPath(IMotionPath value) | Specifies the path primitive followed by coordinates for the animation motion. |
getPathEditMode() | Specifies how the motion path moves when shape is moved. |
setPathEditMode(int value) | Specifies how the motion path moves when shape is moved. |
getAngle() | Describes the relative angle of the motion path. |
setAngle(float value) | Describes the relative angle of the motion path. |
getFrom()
public abstract Point2D.Float getFrom()
Specifies an x/y co-ordinate to start the animation from (in percents). Read/write java.awt.geom.Point2D.Float.
Returns: java.awt.geom.Point2D.Float
setFrom(Point2D.Float value)
public abstract void setFrom(Point2D.Float value)
Specifies an x/y co-ordinate to start the animation from (in percents). Read/write java.awt.geom.Point2D.Float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.geom.Point2D.Float |
getTo()
public abstract Point2D.Float getTo()
Specifies the target location for an animation motion effect (in percents). Read/write java.awt.geom.Point2D.Float.
Returns: java.awt.geom.Point2D.Float
setTo(Point2D.Float value)
public abstract void setTo(Point2D.Float value)
Specifies the target location for an animation motion effect (in percents). Read/write java.awt.geom.Point2D.Float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.geom.Point2D.Float |
getBy()
public abstract Point2D.Float getBy()
Describes the relative offset value for the animation (in percents). Read/write java.awt.geom.Point2D.Float.
Returns: java.awt.geom.Point2D.Float
setBy(Point2D.Float value)
public abstract void setBy(Point2D.Float value)
Describes the relative offset value for the animation (in percents). Read/write java.awt.geom.Point2D.Float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.geom.Point2D.Float |
getRotationCenter()
public abstract Point2D.Float getRotationCenter()
Describes the center of the rotation used to rotate a motion path by X angle. Read/write java.awt.geom.Point2D.Float.
Returns: java.awt.geom.Point2D.Float
setRotationCenter(Point2D.Float value)
public abstract void setRotationCenter(Point2D.Float value)
Describes the center of the rotation used to rotate a motion path by X angle. Read/write java.awt.geom.Point2D.Float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.geom.Point2D.Float |
getOrigin()
public abstract 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.
Returns: int
setOrigin(int value)
public abstract 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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getPath()
public abstract IMotionPath getPath()
Specifies the path primitive followed by coordinates for the animation motion. Read/write IMotionPath.
Returns: IMotionPath
setPath(IMotionPath value)
public abstract void setPath(IMotionPath value)
Specifies the path primitive followed by coordinates for the animation motion. Read/write IMotionPath.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IMotionPath |
getPathEditMode()
public abstract int getPathEditMode()
Specifies how the motion path moves when shape is moved. Read/write MotionPathEditMode.
Returns: int
setPathEditMode(int value)
public abstract void setPathEditMode(int value)
Specifies how the motion path moves when shape is moved. Read/write MotionPathEditMode.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getAngle()
public abstract float getAngle()
Describes the relative angle of the motion path. Read/write float.
Returns: float
setAngle(float value)
public abstract void setAngle(float value)
Describes the relative angle of the motion path. Read/write float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |