noalyss Version-9
|
Public Member Functions | |
__construct ($red, $green=null, $blue=null) | |
Create a new Securimage_Color object. More... | |
Data Fields | |
$b | |
$g | |
$r | |
Definition at line 1543 of file securimage.php.
Securimage_Color::__construct | ( | $red, | |
$green = null , |
|||
$blue = null |
|||
) |
Create a new Securimage_Color object.
Specify the red, green, and blue components using their HTML hex code equivalent.
Example: The code for the HTML color #4A203C is:
$color = new Securimage_Color(0x4A, 0x20, 0x3C);
$red | Red component 0-255 |
$green | Green component 0-255 |
$blue | Blue component 0-255 |
Definition at line 1573 of file securimage.php.
Securimage_Color::$b |
Definition at line 1561 of file securimage.php.
Securimage_Color::$g |
Definition at line 1555 of file securimage.php.
Securimage_Color::$r |
Definition at line 1549 of file securimage.php.