| Package | com.flashdynamix.motion.guides |
| Class | public class Orbit2D |
| Property | Defined by | ||
|---|---|---|---|
| autoRotate : Boolean = false
Whether the Object will directionally rotate.
| Orbit2D | ||
| centerX : Number | Orbit2D | ||
| centerY : Number | Orbit2D | ||
| degree : Number
Sets and returns the angle in degrees on the orbit path for your object.
| Orbit2D | ||
| item : Object
The Object you wish to be updated with x,y values of the orbit path.
| Orbit2D | ||
| radiusX : Number | Orbit2D | ||
| radiusY : Number | Orbit2D | ||
| rotation : Number
Sets and returns the rotation in radians on the orbit path for your object.
| Orbit2D | ||
| Method | Defined by | ||
|---|---|---|---|
|
Orbit2D(item:Object, radiusX:Number, radiusY:Number, centerX:Number, centerY:Number, autoRotate:Boolean = false)
| Orbit2D | ||
| autoRotate | property |
public var autoRotate:Boolean = falseWhether the Object will directionally rotate.
| centerX | property |
centerX:Number [read-write]Implementation
public function get centerX():Number
public function set centerX(value:Number):void
| centerY | property |
centerY:Number [read-write]Implementation
public function get centerY():Number
public function set centerY(value:Number):void
| degree | property |
degree:Number [read-write]Sets and returns the angle in degrees on the orbit path for your object.
Implementation public function get degree():Number
public function set degree(value:Number):void
| item | property |
public var item:ObjectThe Object you wish to be updated with x,y values of the orbit path.
| radiusX | property |
radiusX:Number [read-write]Implementation
public function get radiusX():Number
public function set radiusX(value:Number):void
| radiusY | property |
radiusY:Number [read-write]Implementation
public function get radiusY():Number
public function set radiusY(value:Number):void
| rotation | property |
rotation:Number [read-write]Sets and returns the rotation in radians on the orbit path for your object.
Implementation public function get rotation():Number
public function set rotation(value:Number):void
| Orbit2D | () | constructor |
public function Orbit2D(item:Object, radiusX:Number, radiusY:Number, centerX:Number, centerY:Number, autoRotate:Boolean = false)Parameters
item:Object — The Object you wish to be updated with x,y values.
|
|
radiusX:Number — The x radius of the orbit path in pixels.
|
|
radiusY:Number — The y radius of the orbit path in pixels.
|
|
centerX:Number — The center x of the orbit path in pixels.
|
|
centerY:Number — The center y of the orbit path in pixels.
|
|
autoRotate:Boolean (default = false) — Whether the Object will directionally rotate.
|