[readonly] tileMargin The margin around the tiles in the sheet (in pixels).Use setSpacing to change.
setSpacing(margin, spacing) Sets tile spacing and margins. Parameters
[readonly] tileSpacing : integer The spacing between each tile in the sheet (in pixels).
new Tileset(name, firstgid, width, height, margin, spacing
properties : Object Tileset-specific properties that are typically defined in the Tiled editor.
name : string The name of the Tileset. Source code:
Page 2 of 2