Constructor
new module:Sprite(positionDefinition, url, frames, optionsopt)
Sprite constructor
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
positionDefinition | PositionDefinition | ||
url | String | ||
frames | Array.<FrameData> | ||
options | SpriteOptions | <optional> | Drawing options |
- Source