| Package | ardisia.managers.cursorManager.data |
| Class | public class CursorData |
| Inheritance | CursorData Object |
These objects are not typically created directly, but rather by the CursorManager.registerCursor() method.
| Property | Defined By | ||
|---|---|---|---|
| assets : Vector.<BitmapData>
A vector of the BitmapData used to define the cursor. | CursorData | ||
| frameRate : uint
The framerate to animate the assets. | CursorData | ||
| hotSpot : Point
Defines the point relative to the upper-left origin that defines the
cursor's hot region. | CursorData | ||
| name : String
The name to associate with this cursor. | CursorData | ||
| Method | Defined By | ||
|---|---|---|---|
CursorData(name:String, hotSpot:Point, assets:Vector.<BitmapData>, frameRate:uint) | CursorData | ||
| assets | property |
public var assets:Vector.<BitmapData>A vector of the BitmapData used to define the cursor. A typical cursor uses a BitmapData instance. However, animated cursors use multiple instances.
The default value is undefined.
| frameRate | property |
public var frameRate:uintThe framerate to animate the assets. Only relevant if assets' length is greater than one.
The default value is undefined.
| hotSpot | property |
public var hotSpot:PointDefines the point relative to the upper-left origin that defines the cursor's hot region.
The default value is undefined.
| name | property |
public var name:StringThe name to associate with this cursor. Only one name allowed per cursor.
The default value is undefined.
| CursorData | () | Constructor |
public function CursorData(name:String, hotSpot:Point, assets:Vector.<BitmapData>, frameRate:uint)name:String | |
hotSpot:Point | |
assets:Vector.<BitmapData> | |
frameRate:uint |