Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Represents a motion effect for an AnimationBehavior object.
The MotionEffect type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() |
Application | Returns an Application object that represents the creator of the specified object. |
![]() |
ByX | Sets or returns a single-precision floating-point number that represents scaling or moving an object horizontally by a specified percentage of the screen width, depending on whether it used in conjunction with a ScaleEffect or MotionEffect object, respectively. For example, a value of 50 for a motion effect means to move the object half the screen width to the right. Read/write. |
![]() |
ByY | Sets or returns a single-precision floating-point number that represents scaling or moving an object vertically by a specified percentage of the screen width, depending on whether it is used in conjunction with a ScaleEffect or MotionEffect object, respectively. Read/write. |
![]() |
FromX | Sets or returns a single-precision floating-point number that represents the starting width or horizontal position of a MotionEffect object, specified as a percent of the screen width. Read/write. |
![]() |
FromY | Returns or sets a single-precision floating-point number that represents the vertical position of a MotionEffect object, specified as a percentage of the screen width. Read/write. |
![]() |
Parent | Returns the parent object for the specified object. |
![]() |
Path | Returns a string that represents the path followed by a MotionEffect object. Read-only. |
![]() |
ToX | Sets or returns a single-precision floating-point number that represents the horizontal position of a MotionEffect object, specified as a percent of the screen width. Read/write. |
![]() |
ToY | Sets or returns a single-precision floating-point number that represents the vertical position of a MotionEffect object, specified as a percent of the screen width. Read/write. |
Top
.gif)