Skip to main content

Home > @jsplumbtoolkit/browser-ui > TiledBackgroundOptions > tileSize

TiledBackgroundOptions.tileSize property

For tiled backgrounds, provides the width and height of tiles. Every tile is assumed to have these dimensions, even if the tile has whitespace in it. You must supply this if you set type to BackgroundTypes.tiled`.

Signature:

tileSize?: Size;