object CompositeTile extends Serializable
The companion object for the CompositeTile type.
- Alphabetic
- By Inheritance
- CompositeTile
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply(tile: Tile, tileLayout: TileLayout): CompositeTile
Given a Tile and a TileLayout, produce a CompositeTile.
Given a Tile and a TileLayout, produce a CompositeTile.
- tile
The tile
- tileLayout
The layout
- returns
The CompositeTile
-
def
wrap(tile: Tile, tileLayout: TileLayout, cropped: Boolean): CompositeTile
Converts a Tile into a CompositeTile with the given TileLayout.
Converts a Tile into a CompositeTile with the given TileLayout. Set the 'cropped' flag to false if you want the tiles to be ArrayTiles, otherwise they will be CroppedTiles with the Tile 'tile' as the backing.
- tile
Tile to wrap.
- tileLayout
TileLayout of the resulting CompositeTile.
- cropped
Boolean to control cropping
- returns
The CompositeTile
-
def
wrap(tile: Tile, tileLayout: TileLayout): CompositeTile
Converts a Tile into a CompositeTile with the given TileLayout.
Converts a Tile into a CompositeTile with the given TileLayout.
- tile
Tile to wrap.
- tileLayout
TileLayout of the resulting CompositeTile.
- returns
The CompositeTile
-
def
wrap(tile: Tile, tileCols: Int, tileRows: Int, cropped: Boolean): CompositeTile
Converts a Tile into a CompositeTile with the given tile layout.
Converts a Tile into a CompositeTile with the given tile layout. Set the 'cropped' flag to false if you want the tiles to be ArrayTiles, otherwise they will be CroppedTiles with the Tile 'tile' as the backing.
- tile
Tile to wrap.
- tileCols
Number of tile columns of the resulting CompositeTile.
- tileRows
Number of tile columns of the resulting CompositeTile.
- cropped
Boolean to control cropping
- returns
The CompositeTile
-
def
wrap(tile: Tile, tileCols: Int, tileRows: Int): CompositeTile
Converts a Tile into a CompositeTile with the given tile layout.
Converts a Tile into a CompositeTile with the given tile layout.
- tile
Tile to wrap.
- tileCols
Number of tile columns of the resulting CompositeTile.
- tileRows
Number of tile columns of the resulting CompositeTile.
- returns
The CompositeTile