__construct() __construct(integer $width, integer $height) Creates a new byte matrix. Parameters integer $width integer $height
getArray() getArray() : \SplFixedArray Gets the internal representation of the matrix. Returns \SplFixedArray
get() get(integer $x, integer $y) : integer Gets the byte for a specific position. Parameters integer $x integer $y Returns integer
set() set(integer $x, integer $y, integer $value) : void Sets the byte for a specific position. Parameters integer $x integer $y integer $value
clear() clear(integer $value) : void Clears the matrix with a specific value. Parameters integer $value