CG.AtlasImage Class
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
})
Item Index
Methods
Methods
init
(
-
options
Options: image {string} xoffset {number} yoffset {number} width {number} height {number}
Parameters:
-
options
Object