PHP Class Pixeler\Matrix

Show file Open project: lastguest/pixeler

Protected Properties

Property Type Description
$colors
$csize
$height
$matrix
$size
$width

Public Methods

Method Description
__construct ( $width, $height )
__toString ( )
clear ( )
clearColors ( )
getPixel ( $x, $y )
render ( )
setData ( array $data )
setPixel ( $x, $y, $value = true, $color = null )

Method Details

__construct() public method

public __construct ( $width, $height )

__toString() public method

public __toString ( )

clear() public method

public clear ( )

clearColors() public method

public clearColors ( )

getPixel() public method

public getPixel ( $x, $y )

render() public method

public render ( )

setData() public method

public setData ( array $data )
$data array

setPixel() public method

public setPixel ( $x, $y, $value = true, $color = null )

Property Details

$colors protected property

protected $colors

$csize protected property

protected $csize

$height protected property

protected $height

$matrix protected property

protected $matrix

$size protected property

protected $size

$width protected property

protected $width