class ColorVariable implements VariableInterface (View source)

Properties

protected $name
protected $r
protected $g
protected $b
protected $a

Methods

__construct($name, $r, $g, $b, $a = 1)

NumberVariable constructor.

string
getName()

No description

mixed
getRed()

No description

mixed
getGreen()

No description

mixed
getBlue()

No description

int|mixed
getAlpha()

No description

getValue()

No description

jsonSerialize()

No description

Details

__construct($name, $r, $g, $b, $a = 1)

NumberVariable constructor.

Parameters

$name
$r
$g
$b
$a

string getName()

No description

Return Value

string

mixed getRed()

No description

Return Value

mixed

mixed getGreen()

No description

Return Value

mixed

mixed getBlue()

No description

Return Value

mixed

int|mixed getAlpha()

No description

Return Value

int|mixed

getValue()

No description

jsonSerialize()

No description