PHP 클래스 Securimage_Color, PHP-Fusion

부터: 2.0
파일 보기 프로젝트 열기: php-fusion/PHP-Fusion

공개 프로퍼티들

프로퍼티 타입 설명
$b integer Blue component: 0-255
$g integer Green component: 0-255
$r integer Red component: 0-255

공개 메소드들

메소드 설명
Securimage_Color ( $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);

메소드 상세

Securimage_Color() 공개 메소드

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);
public Securimage_Color ( $red, $green = NULL, $blue = NULL )
$red Red component 0-255
$green Green component 0-255
$blue Blue component 0-255

프로퍼티 상세

$b 공개적으로 프로퍼티

Blue component: 0-255
public int $b
리턴 integer

$g 공개적으로 프로퍼티

Green component: 0-255
public int $g
리턴 integer

$r 공개적으로 프로퍼티

Red component: 0-255
public int $r
리턴 integer