Securimage
[ class tree: Securimage ] [ index: Securimage ] [ all elements ]

Class: Securimage_Color

Source Location: /securimage.php

Class Overview


Color object for Securimage CAPTCHA


Author(s):

Variables

Methods



Class Details

[line 1250]
Color object for Securimage CAPTCHA



Tags:

since:  2.0


[ Top ]


Class Variables

$b =

[line 1268]

Blue component: 0-255


Type:   int


[ Top ]

$g =

[line 1262]

Green component: 0-255


Type:   int


[ Top ]

$r =

[line 1256]

Red component: 0-255


Type:   int


[ Top ]



Class Methods


constructor Securimage_Color [line 1280]

Securimage_Color Securimage_Color( $red $red, $green $green, $blue $blue)

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);




Parameters:

$red   $red   Red component 0-255
$green   $green   Green component 0-255
$blue   $blue   Blue component 0-255

[ Top ]


Documentation generated on Fri, 13 Nov 2009 02:59:27 -0800 by phpDocumentor 1.4.3