PHP Interface GameBoy\Canvas\DrawContextInterface

Afficher le fichier Open project: gabrielrcouto/php-terminal-gameboy-emulator

Méthodes publiques

Méthode Description
draw ( array $canvasBuffer ) Draw image on canvas.

Method Details

draw() public méthode

Draw image on canvas.
public draw ( array $canvasBuffer )
$canvasBuffer array If colored, each pixel => 4 items on array (RGBA)