Contains factory methods for 2D arrays.
Attributes
- Companion:
- class
- Source:
- CPArray2D.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- CPArray2D.type
Members list
Value members
Concrete methods
Creates new 2D array from given list of CPPosPixel instances. Note that clear value is not set.
Creates new 2D array from given list of CPPosPixel instances. Note that clear value is not set.
Attributes
- pps
List of CPPosPixel instances to create a new array from.
- Source:
- CPArray2D.scala
Creates new 2D array from given sequence of pixels and width. Note that clear value is not set.
Creates new 2D array from given sequence of pixels and width. Note that clear value is not set.
Attributes
- pxs
Sequence of pixels.
- width
Required width. Height is calculated automatically.
- Source:
- CPArray2D.scala
Creates new 2D array of Char from given string. Height of the array will be 1. Note that clear value will be set to ' ' (space).
Creates new 2D array of Char from given string. Height of the array will be 1. Note that clear value will be set to ' ' (space).
Attributes
- str
String to creates new 2D array from.
- Source:
- CPArray2D.scala
Creates new 2D array of Char from given sequence of strings. Note that clear value will be set to ' ' (space). All strings will be padded to the maximum value with clear value ' ' (space) too.
Creates new 2D array of Char from given sequence of strings. Note that clear value will be set to ' ' (space). All strings will be padded to the maximum value with clear value ' ' (space) too.
Attributes
- data
Sequence of strings to create new 2D array from.
- Source:
- CPArray2D.scala