PHP Class Gui\Components\Shape

It is a visual component for shape
Since: 0.1
Author: Gabriel Couto @gabrielrcouto
Inheritance: extends VisualObject
Show file Open project: gabrielrcouto/php-gui

Protected Properties

Property Type Description
$lazarusClass string The lazarus class as string

Public Methods

Method Description
getBackgroundColor ( ) : String Get the background color
getBorderColor ( ) : String Get the border color
setBackgroundColor ( string $color ) : self Set the background Color
setBorderColor ( string $color ) : self Set the border Color

Method Details

getBackgroundColor() public method

Get the background color
public getBackgroundColor ( ) : String
return String

getBorderColor() public method

Get the border color
public getBorderColor ( ) : String
return String

setBackgroundColor() public method

Set the background Color
public setBackgroundColor ( string $color ) : self
$color string Color '#123456'
return self

setBorderColor() public method

Set the border Color
public setBorderColor ( string $color ) : self
$color string Color '#123456'
return self

Property Details

$lazarusClass protected property

The lazarus class as string
protected string $lazarusClass
return string