Packages

implicit object TileStitcher extends Stitcher[Tile]

Implicit object holding Tile stitcher function.

Linear Supertypes
Stitcher[Tile], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TileStitcher
  2. Stitcher
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def stitch(pieces: Iterable[(Tile, (Int, Int))], cols: Int, rows: Int): Tile

    Stitch an Iterable of Tile, corner pairs into a new Tile with the given number of columns and rows.

    Stitch an Iterable of Tile, corner pairs into a new Tile with the given number of columns and rows.

    The parameter 'pieces' is an iterable of (T, (Int, Int)) tuples, were the first item in the tuple is a Tile and the second one is the position that the Tile should occupy (given by smallest column and smallest row).

    pieces

    An iterable of Tile, corner pairs

    cols

    The number of columns in the result Tile

    rows

    The number of rows in the result Tile

    returns

    The result Tile

    Definition Classes
    TileStitcherStitcher