, type or field.">@:access(openfl.geom.Rectangle)</span></div><div class="body"><div class="doc doc-main"><p>The Tileset class lets you specify logical rectangles within a larger
BitmapData object, to be rendered using a Tilemap instance.</p>
<p>The <code><a href="../../openfl/display/Tileset.html#Tileset">Tileset</a>()</code> constructor allows you to create a Tileset
object that contains a reference to a BitmapData object. After you create a
Tileset object, use the <code>addRect()</code> method to specify