Loom2D
Description
Loom2D is a hardware accelerated 2D graphics library based on Starling by Gamua.
The Loom2D class contains a few globals used by the Loom2D library. It's most
convenient for the juggler field which is used to access the Juggler, which
controls time driven logic.
API overview
Constructor
Loom2D
()
Attributes
Public attributes
| contentScaleFactor: Number |
static
Set this at startup to control the display scale factor, for instance on HiDPI devices |
| juggler: Juggler |
static
Reference to the current Juggler, which controls time driven logic |
| stage: Stage |
static
Reference to the active Loom2D Stage |
Constructor
Loom2D ()
Attributes
contentScaleFactor: Number
static
Set this at startup to control the display scale factor, for instance on HiDPI devices. It sets how many native pixels a Loom2D unit corresponds to.
Functions
execute ( func: Function , args: Vector.<Object> ): Void
static
Executes a function with the specified arguments. If the argument count does not match
the function, the argument list is cropped / filled up with null values.
Parameters
| func: Function | |
| args: Vector.<Object> |
getFullTypeName
(): String
Inherited from Object
native
Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.
Returns
| String | fully qualified type name of the Object. |
getType
(): Type
Inherited from Object
native
Gets the Type that describes the Object.
Returns
| Type | The Type that describes the object. |