|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for Securimage_Color:Public Member Functions | |
| __construct ($color='#ffffff') | |
| Create a new Securimage_Color object. More... | |
Data Fields | |
| $r | |
| $g | |
| $b | |
Protected Member Functions | |
| constructRGB ($red, $green, $blue) | |
| Construct from an rgb triplet. More... | |
| constructHTML ($color) | |
| Construct from an html hex color code. More... | |
Definition at line 2197 of file securimage.php.
| Securimage_Color::__construct | ( | $color = '#ffffff' | ) |
Create a new Securimage_Color object.
Constructor expects 1 or 3 arguments.
When passing a single argument, specify the color using HTML hex format,
when passing 3 arguments, specify each RGB component (from 0-255) individually.
$color = new Securimage_Color('#0080FF') or
$color = new Securimage_Color(0, 128, 255)
| string | $color |
| Exception |
Definition at line 2214 of file securimage.php.
References constructHTML(), and constructRGB().
Here is the call graph for this function:
|
protected |
Construct from an html hex color code.
| string | $color |
Definition at line 2280 of file securimage.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Construct from an rgb triplet.
| int | $red | The red component, 0-255 |
| int | $green | The green component, 0-255 |
| int | $blue | The blue component, 0-255 |
Definition at line 2250 of file securimage.php.
Referenced by __construct().
Here is the caller graph for this function:| Securimage_Color::$b |
Definition at line 2201 of file securimage.php.
| Securimage_Color::$g |
Definition at line 2200 of file securimage.php.
| Securimage_Color::$r |
Definition at line 2199 of file securimage.php.