LdtkTilesetRectangle

ceramic.LdtkTilesetRectangle (Class)

This object represents a custom sub rectangle in a Tileset image.

Instance Members

The related tileset


ldtk
x: Int

X pixels coordinate of the top-left corner in the Tileset image


ldtk
y: Int

Y pixels coordinate of the top-left corner in the Tileset image


ldtk
w: Int

Width in pixels


ldtk
h: Int

Height in pixels


ldtk
ceramicTile: TextureTile

Get a Ceramic texture tile from this tileset rectangle.


ldtk
toString(): String
Returns
String

ldtk
new(?ldtkData: LdtkData, ?json: haxe.DynamicAccess<Dynamic>): Void
Name Type Default
ldtkData LdtkData (optional)
json haxe.DynamicAccess<Dynamic> (optional)

Private Members