Class: TextureAtlas

TextureAtlas

A texture atlas. See createAtlas.
Source:

Classes

TextureAtlas

Methods

getTexture(x, y, width, height) → {ImageData}

Creates an image cutout.
Parameters:
Name Type Description
x number
y number
width number
height number
Source:
Returns:
Type
ImageData