Packages

object CompositeTile extends Serializable

The companion object for the CompositeTile type.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompositeTile
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. 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

  2. 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

  3. 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

  4. 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

  5. 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