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