Packages

object CellSize extends Serializable

The companion object for the CellSize type.

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

Value Members

  1. def apply(extent: Extent, dims: Dimensions[Int]): CellSize

    Create a new CellSize from an extent, a number of columns, and a number of rows.

    Create a new CellSize from an extent, a number of columns, and a number of rows.

    extent

    The extent, which provides an overall height and width

    dims

    The numbers of columns and rows as a tuple

    returns

    The CellSize

  2. def apply(extent: Extent, cols: Int, rows: Int): CellSize

    Create a new CellSize from an extent, a number of columns, and a number of rows.

    Create a new CellSize from an extent, a number of columns, and a number of rows.

    extent

    The extent, which provides an overall height and width

    cols

    The number of columns

    rows

    The number of rows

    returns

    The CellSize

  3. implicit val cellsizeOrdering: Ordering[CellSize]
  4. implicit val codecForCellSize: AsObject[CellSize]
  5. def fromString(s: String): CellSize

    Create a new CellSize from a string containing the width and height separated by a comma.

    Create a new CellSize from a string containing the width and height separated by a comma.

    s

    The string

    returns

    The CellSize