tint : number The tint applied to the sprite. This is a hex value. A value of 0xFFFFFF will remove any tint effect.
setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters
setScale(xScale, yScale) This method will set the scale of the tilemap as
[static] EAST : number Source code:
random(x, y, width, height, layer) Randomises a set of tiles in a given area. Parameters
forEach(callback, context, x, y, width, height, layer) For each tile in the given area defined by x/y
[readonly] columns : integer The number of tile columns in the tileset.
getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds
getLocalBounds() → {Rectangle} Retrieves the non-global local bounds of the Sprite as a rectangle
[readonly] tileHeight : integer The height of each tile (in pixels).
Page 3 of 25