MotionEffect
MotionEffect class
Represent motion effect behavior of effect.
MotionEffect
Name | Description |
---|
MotionEffect() | |
Returns:
MotionEffect
getAngle
Name | Description |
---|
getAngle () | Describes the relative angle of the motion path. Read/write float. |
Returns:
float
getBy
Name | Description |
---|
getBy () | Describes the relative offset value for the animation (in percents). Read/write java.awt.geom.Point2D.Float. |
Returns:
Point2D.Float
getFrom
Name | Description |
---|
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
Name | Description |
---|
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
Name | Description |
---|
getPath () | Specifies the path primitive followed by coordinates for the animation motion. Read/write IMotionPath. |
Returns:
MotionPath
getPathEditMode
Name | Description |
---|
getPathEditMode () | Specifies how the motion path moves when shape is moved. Read/write MotionPathEditMode. |
Returns:
int
getRotationCenter
Name | Description |
---|
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
Name | Description |
---|
getTo () | Specifies the target location for an animation motion effect (in percents). Read/write java.awt.geom.Point2D.Float. |
Returns:
Point2D.Float
setAngle
Name | Description |
---|
setAngle (float) | Describes the relative angle of the motion path. Read/write float. |
setBy
Name | Description |
---|
setBy (Point2D.Float) | Describes the relative offset value for the animation (in percents). Read/write java.awt.geom.Point2D.Float. |
setFrom
Name | Description |
---|
setFrom (Point2D.Float) | Specifies an x/y co-ordinate to start the animation from (in percents). Read/write java.awt.geom.Point2D.Float. |
setOrigin
Name | Description |
---|
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. |
setPath
Name | Description |
---|
setPath (MotionPath) | Specifies the path primitive followed by coordinates for the animation motion. Read/write IMotionPath. |
setPathEditMode
Name | Description |
---|
setPathEditMode (int) | Specifies how the motion path moves when shape is moved. Read/write MotionPathEditMode. |
setRotationCenter
Name | Description |
---|
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. |
setTo
Name | Description |
---|
setTo (Point2D.Float) | Specifies the target location for an animation motion effect (in percents). Read/write java.awt.geom.Point2D.Float. |