Свойство | Тип | Описание | |
---|---|---|---|
$brightness | integer | Brightness percentage value | |
$hue | integer | Hue angle value in degrees | |
$saturation | integer | Saturation percentage value |
Метод | Описание | |
---|---|---|
__construct ( integer $h, integer $s, integer $b ) : |
Constructor | |
__toString ( ) : string | Method to return the string value for printing output. | |
get ( integer $type = Pop\Color\Color::ASSOC_ARRAY ) : string | array | Method to get the full HSB value | |
getBrightness ( ) : integer | Method to get the brightness value | |
getHue ( ) : integer | Method to get the hue value | |
getSaturation ( ) : integer | Method to get the saturation value |
public __toString ( ) : string | ||
Результат | string |
public getBrightness ( ) : integer | ||
Результат | integer |
public getSaturation ( ) : integer | ||
Результат | integer |
protected int $brightness | ||
Результат | integer |
protected int $saturation | ||
Результат | integer |