Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
GameBoy
Canvas
DrawContextInterface
draw
GameBoy\Canvas\DrawContextInterface::draw PHP Method
DrawContextInterface Interface Documentation
Datei anzeigen
Open project: gabrielrcouto/php-terminal-gameboy-emulator
draw()
public
method
Draw image on canvas.
public
draw
(
array
$canvasBuffer
)
$canvasBuffer
array
If colored, each pixel => 4 items on array (RGBA)
public function draw($canvasBuffer);
DrawContextInterface
draw