Packages

object BitConstantTile extends Serializable

The companion object for the BitConstantTile type.

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

Value Members

  1. def apply(i: Int, cols: Int, rows: Int): BitConstantTile

    A function which takes a number of columns and rows, and produces a new BitConstantTile.

    A function which takes a number of columns and rows, and produces a new BitConstantTile.

    cols

    The number of columns

    rows

    The number of rows

    returns

    The BitConstantTile

  2. def fromBytes(bytes: Array[Byte], cols: Int, rows: Int): BitConstantTile

    Produce a new BitConstantTile from an array of bytes.

    Produce a new BitConstantTile from an array of bytes.

    bytes

    The value to fill into the new tile

    cols

    The number of columns

    rows

    The number of rows

    returns

    The new BitArrayTile