API Docs for: 0.1.0
Show:

CG.AtlasImage Class

Extends Class
Module: CG

CG.AtlasImage class. It is needed when using TexturePacker atlas files.


                        var a = new CG.AtlasImage({
                          image: 'menuscreen',
                          xoffset: 0,
                          yoffset: 0,
                          width: 10,
                          height: 20
                        })
                        

Methods

init

(
  • options
)

Options: image {string} xoffset {number} yoffset {number} width {number} height {number}

Parameters: