indigo.shared.formats.TileSheet
See theTileSheet companion object
Utility for working with generic sprite sheets. The sheet must be uniform, with each sprite having the same width and height, and a (possibly zero-pixel) inner margin.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Value parameters
- column
-
zero-based
- row
-
zero-based
Attributes
- Returns
-
an optional Graphic, None if the given coordinates are out of bounds
Value parameters
- index
-
a zero-based index that begins at the upper right of the sheet and increases as it goes right and down
Attributes
- Returns
-
an optional Graphic, None if the given index is out of bounds
Value parameters
- pt
-
zero-based x and y grid location of tile
Attributes
- Returns
-
an optional Graphic, None if the given Point is out of bounds
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article