MotionEffect

MotionEffect class

Represent motion effect behavior of effect.

MotionEffect

NameDescription
MotionEffect()

Returns: MotionEffect


getAngle

NameDescription
getAngle ()Describes the relative angle of the motion path. Read/write float.

Returns: float


getBy

NameDescription
getBy ()Describes the relative offset value for the animation (in percents). Read/write java.awt.geom.Point2D.Float.

Returns: Point2D.Float


getFrom

NameDescription
getFrom ()Specifies an x/y co-ordinate to start the animation from (in percents). Read/write java.awt.geom.Point2D.Float.

Returns: Point2D.Float


getOrigin

NameDescription
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


getPath

NameDescription
getPath ()Specifies the path primitive followed by coordinates for the animation motion. Read/write IMotionPath.

Returns: MotionPath


getPathEditMode

NameDescription
getPathEditMode ()Specifies how the motion path moves when shape is moved. Read/write MotionPathEditMode.

Returns: int


getRotationCenter

NameDescription
getRotationCenter ()Describes the center of the rotation used to rotate a motion path by X angle. Read/write java.awt.geom.Point2D.Float.

Returns: Point2D.Float


getTo

NameDescription
getTo ()Specifies the target location for an animation motion effect (in percents). Read/write java.awt.geom.Point2D.Float.

Returns: Point2D.Float


setAngle

NameDescription
setAngle (float)Describes the relative angle of the motion path. Read/write float.

Returns: void


setBy

NameDescription
setBy (Point2D.Float)Describes the relative offset value for the animation (in percents). Read/write java.awt.geom.Point2D.Float.

Returns: void


setFrom

NameDescription
setFrom (Point2D.Float)Specifies an x/y co-ordinate to start the animation from (in percents). Read/write java.awt.geom.Point2D.Float.

Returns: void


setOrigin

NameDescription
setOrigin (int)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: void


setPath

NameDescription
setPath (MotionPath)Specifies the path primitive followed by coordinates for the animation motion. Read/write IMotionPath.

Returns: void


setPathEditMode

NameDescription
setPathEditMode (int)Specifies how the motion path moves when shape is moved. Read/write MotionPathEditMode.

Returns: void


setRotationCenter

NameDescription
setRotationCenter (Point2D.Float)Describes the center of the rotation used to rotate a motion path by X angle. Read/write java.awt.geom.Point2D.Float.

Returns: void


setTo

NameDescription
setTo (Point2D.Float)Specifies the target location for an animation motion effect (in percents). Read/write java.awt.geom.Point2D.Float.

Returns: void