Class Index | File Index

Classes


Class createjs.SpriteSheet.Frame


Defined in: sprite_sheet.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
createjs.SpriteSheet.Frame(image, rectangle, regX, regY, width, height)
A class representing a frame used by the createjs.SpriteSheet object.
Field Summary
Field Attributes Field Name and Description
 
The source image of this frame.
 
The source rectangle of this frame.
 
The x position of the destination of this frame.
 
The y position of the destination of this frame.
Class Detail
createjs.SpriteSheet.Frame(image, rectangle, regX, regY, width, height)
A class representing a frame used by the createjs.SpriteSheet object.
Parameters:
{HTMLImageElement} image
{createjs.Rectangle} rectangle
{number} regX
{number} regY
{number} width
{number} height
Field Detail
image
The source image of this frame.

rect
The source rectangle of this frame.

regX
The x position of the destination of this frame.

regY
The y position of the destination of this frame.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Oct 04 2016 17:11:29 GMT+0900 (JST)