PHP Class Gui\Components\Canvas

It is a visual component for canvas
Since: 0.1
Author: Gabriel Couto @gabrielrcouto
Inheritance: extends VisualObject
Afficher le fichier Open project: gabrielrcouto/php-gui

Protected Properties

Свойство Type Description
$lazarusClass string The lazarus class as string

Méthodes publiques

Méthode Description
putImageData ( $pixels )
setPixel ( integer $x, $y, string $color ) : self Sets the pixel color
setSize ( integer $width, integer $height ) : self Sets the canvas size

Method Details

putImageData() public méthode

public putImageData ( $pixels )

setPixel() public méthode

Sets the pixel color
public setPixel ( integer $x, $y, string $color ) : self
$x integer
$color string
Résultat self

setSize() public méthode

Sets the canvas size
public setSize ( integer $width, integer $height ) : self
$width integer
$height integer
Résultat self

Property Details

$lazarusClass protected_oe property

The lazarus class as string
protected string $lazarusClass
Résultat string