IMotionEffect

All Implemented Interfaces: com.aspose.slides.IBehavior

public interface IMotionEffect extends IBehavior

Represent motion effect behavior of effect.

Methods

MethodDescription
getFrom()Specifies an x/y co-ordinate to start the animation from (in percents).
setFrom(PointF 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(PointF value)Specifies the target location for an animation motion effect (in percents).
getBy()Describes the relative offset value for the animation (in percents).
setBy(PointF 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(PointF 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 PointF getFrom()

Specifies an x/y co-ordinate to start the animation from (in percents). Read/write android.graphics.PointF.

Returns: android.graphics.PointF

setFrom(PointF value)

public abstract void setFrom(PointF value)

Specifies an x/y co-ordinate to start the animation from (in percents). Read/write android.graphics.PointF.

Parameters:

ParameterTypeDescription
valueandroid.graphics.PointF

getTo()

public abstract PointF getTo()

Specifies the target location for an animation motion effect (in percents). Read/write android.graphics.PointF.

Returns: android.graphics.PointF

setTo(PointF value)

public abstract void setTo(PointF value)

Specifies the target location for an animation motion effect (in percents). Read/write android.graphics.PointF.

Parameters:

ParameterTypeDescription
valueandroid.graphics.PointF

getBy()

public abstract PointF getBy()

Describes the relative offset value for the animation (in percents). Read/write android.graphics.PointF.

Returns: android.graphics.PointF

setBy(PointF value)

public abstract void setBy(PointF value)

Describes the relative offset value for the animation (in percents). Read/write android.graphics.PointF.

Parameters:

ParameterTypeDescription
valueandroid.graphics.PointF

getRotationCenter()

public abstract PointF getRotationCenter()

Describes the center of the rotation used to rotate a motion path by X angle. Read/write android.graphics.PointF.

Returns: android.graphics.PointF

setRotationCenter(PointF value)

public abstract void setRotationCenter(PointF value)

Describes the center of the rotation used to rotate a motion path by X angle. Read/write android.graphics.PointF.

Parameters:

ParameterTypeDescription
valueandroid.graphics.PointF

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:

ParameterTypeDescription
valueint

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:

ParameterTypeDescription
valueIMotionPath

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:

ParameterTypeDescription
valueint

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:

ParameterTypeDescription
valuefloat