OptionaldataThe tiles data of the layer.
The unique identifier of the layer.
OptionalimageThe image of the image layer.
OptionallayerThe canvas element for the layer.
OptionallayerThe rendering context of the layer canvas.
OptionalnameThe name of the layer (optional).
OptionalobjectsThe objects in the layer.
The offset of the layer.
The parallax factor of the layer.
The properties of the layer.
The render order of the layer.
The repeatX mode for the image layer.
The repeatY mode for the image layer.
The size of the layer.
OptionaltintThe tint color of the layer.
The type of the layer.
Flag indicating whether the layer is visible.
Clears the tile at the specified position.
The position of the tile to clear.
Retrieves the tile at the specified position.
The position of the tile.
The tile at the specified position, or null if the position is out of range
or the data is not available.
Sets the tile at the specified position.
The position of the tile.
The ID of the tile to set.
Creates a new layer.