PHP Class Pixeler\Matrix

ファイルを表示 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_oe property

protected $colors

$csize protected_oe property

protected $csize

$height protected_oe property

protected $height

$matrix protected_oe property

protected $matrix

$size protected_oe property

protected $size

$width protected_oe property

protected $width