GODPAPER | All Packages | All Classes | Index | Frames No Frames |
SnappingPlugin

Package | com.gskinner.motion.plugins
Class | public class SnappingPlugin
Inheritance | SnappingPlugin Object
Implements | IGTweenPlugin

Public Properties

| Property | Defined By
--- | --- | ---
|  | enabled : Boolean = true [static] Specifies whether this plugin is enabled for all tweens by default. | SnappingPlugin

Public Methods

| Method | Defined By
--- | --- | ---
|  | install(properties:Array = null):void [static] Installs this plugin for use with all GTween instances. | SnappingPlugin

Property Detail

enabled | property

`public static var enabled:Boolean = true`

Specifies whether this plugin is enabled for all tweens by default.

Method Detail

install | () | method

`public static function install(properties:Array = null):void`

Installs this plugin for use with all GTween instances.

Parameters

| `properties:Array` (default = `null`)`` — Specifies the properties to apply this plugin to. Defaults to x and y.

Thu Jan 16 2014, 01:11 PM +08:00