|
static | hslToRgb ($hue, $saturation, $lightness) |
|
static | rgbToHsl ($red, $green, $blue) |
|
static | strlen ($string, $encoding=false) |
|
static | substr ($string, $start, $length=null, $encoding=false) |
|
static | detectEncoding ($string) |
|
static | escape ($string, $encoding=false) |
|
static | blank ($name=null, $access_path=null) |
|
static | isSequential (array $array) |
|
static | sortByAccess (Kint_Object $a, Kint_Object $b) |
|
static | sortByName (Kint_Object $a, Kint_Object $b) |
|
◆ __construct()
◆ hslToRgb()
static hslToRgb |
( |
|
$hue, |
|
|
|
$saturation, |
|
|
|
$lightness |
|
) |
| |
|
static |
Turns HSL color to RGB. Black magic.
- Paramètres
-
float | $hue | Hue |
float | $saturation | Saturation |
float | $lightness | Lightness |
- Renvoie
- array RGB array
◆ hueToRgb()
static hueToRgb |
( |
|
$m1, |
|
|
|
$m2, |
|
|
|
$hue |
|
) |
| |
|
staticprivate |
Helper function for hslToRgb. Even blacker magic.
- Renvoie
- float Color value
◆ rgbToHsl()
static rgbToHsl |
( |
|
$red, |
|
|
|
$green, |
|
|
|
$blue |
|
) |
| |
|
static |
Converts RGB to HSL. Color inversion of previous black magic is white magic?
- Paramètres
-
float | $red | Red |
float | $green | Green |
float | $blue | Blue |
- Renvoie
- array HSL array
◆ $color
◆ $color_map
◆ $hints
La documentation de cette classe a été générée à partir du fichier suivant :
- XoopsCore25-2.5.11-Beta1/htdocs/class/libraries/vendor/kint-php/kint/src/Object/Color.php