TmxTileOffset

format.tmx.TmxTileOffset (Class)

This element is used to specify an offset in pixels, to be applied when drawing a tile from the related tileset. When not present, no offset is applied.

Instance Members

x: Int

Horizontal offset in pixels


y: Int

Vertical offset in pixels (positive is down)


new(x: Int, y: Int): Void
Name Type Description
x Int Horizontal offset in pixels
y Int Vertical offset in pixels (positive is down)

Metadata

Name Parameters
:structInit -