PHP Класс Securimage_Color, PHP-Fusion

С версии: 2.0
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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