static method AQUA [line 459]
The color aqua. In the default sRGB space.
Tags:
static method BISQUE [line 501]
The color bisque. In the default sRGB space.
Tags:
static method BLACK [line 193]
The color black. In the default sRGB space.
Tags:
static method BLUE [line 263]
The color blue. In the default sRGB space.
Tags:
static method CYAN [line 571]
The color cyan. In the default sRGB space.
Tags:
static method DARK_GRAY [line 207]
The color dark gray. In the default sRGB space.
Tags:
static method EMPTYCOLOR [line 142]
static void EMPTYCOLOR(
)
|
|
Tags:
static method fromArgb [line 138]
static void fromArgb(
$a,
$r,
$g,
$b)
|
|
Tags:
Parameters:
static method fromRgb [line 163]
static void fromRgb(
$r,
$g,
$b)
|
|
Tags:
Parameters:
static method FUCHSIA [line 375]
The color fuchsia. In the default sRGB space.
Tags:
static method getAqua [line 452]
The color aqua. In the default sRGB space.
Tags:
static method getBisque [line 494]
The color bisque. In the default sRGB space.
Tags:
static method getBlack [line 186]
The color black. In the default sRGB space.
Tags:
static method getCyan [line 564]
The color cyan. In the default sRGB space.
Tags:
static method getDarkGray [line 200]
static void getDarkGray(
)
|
|
The color dark gray. In the default sRGB space.
Tags:
static method getFuchsia [line 368]
static void getFuchsia(
)
|
|
The color fuchsia. In the default sRGB space.
Tags:
static method getGold [line 340]
The color gold. In the default sRGB space.
Tags:
static method getGray [line 284]
The color gray. In the default sRGB space.
Tags:
static method getGreenYellow [line 466]
static void getGreenYellow(
)
|
|
The color green yellow. In the default sRGB space.
Tags:
static method getIndigo [line 508]
The color indigo. In the default sRGB space.
Tags:
static method getLightYellow [line 354]
static void getLightYellow(
)
|
|
Tags:
static method getLime [line 410]
The color lime. In the default sRGB space.
Tags:
static method getMagenta [line 550]
static void getMagenta(
)
|
|
The color magenta. In the default sRGB space.
Tags:
static method getMaroon [line 396]
The color maroon. In the default sRGB space.
Tags:
static method getNavy [line 326]
The color navy. In the default sRGB space.
Tags:
static method getOlive [line 424]
The color olive. In the default sRGB space.
Tags:
static method getOrange [line 536]
The color orange. In the default sRGB space.
Tags:
static method getPink [line 522]
The color pink. In the default sRGB space.
Tags:
static method getPurple [line 438]
The color purple. In the default sRGB space.
Tags:
static method getSilver [line 270]
The color silver. In the default sRGB space.
Tags:
static method getSkyBlue [line 480]
static void getSkyBlue(
)
|
|
The color sky blue. In the default sRGB space.
Tags:
static method getTeal [line 382]
The color teal. In the default sRGB space.
Tags:
static method getWhite [line 298]
The color white. In the default sRGB space.
Tags:
static method getWhiteSmoke [line 312]
static void getWhiteSmoke(
)
|
|
The color white smoke. In the default sRGB space.
Tags:
static method getYellow [line 214]
The color yellow. In the default sRGB space.
Tags:
static method GOLD [line 347]
The color gold. In the default sRGB space.
Tags:
static method GRAY [line 291]
The color gray. In the default sRGB space.
Tags:
static method GREEN [line 249]
The color green. In the default sRGB space.
Tags:
static method GREEN_YELLOW [line 473]
static void GREEN_YELLOW(
)
|
|
The color green yellow. In the default sRGB space.
Tags:
static method INDIGO [line 515]
The color indigo. In the default sRGB space.
Tags:
static method LIGHT_YELLOW [line 361]
static void LIGHT_YELLOW(
)
|
|
The color light yellow. In the default sRGB space.
Tags:
static method LIME [line 417]
The color lime. In the default sRGB space.
Tags:
static method MAGENTA [line 557]
The color magenta. In the default sRGB space.
Tags:
static method MAROON [line 403]
The color maroon. In the default sRGB space.
Tags:
static method NAVY [line 333]
The color navy. In the default sRGB space.
Tags:
static method OLIVE [line 431]
The color olive. In the default sRGB space.
Tags:
static method ORANGE [line 543]
The color orange. In the default sRGB space.
Tags:
static method PINK [line 529]
The color pink. In the default sRGB space.
Tags:
static method PURPLE [line 445]
The color purple. In the default sRGB space.
Tags:
static method random [line 176]
Creates a new Color instance with random RED, GREEN and BLUE color components.
Tags:
static method RED [line 235]
The color red. In the default sRGB space.
Tags:
static method SILVER [line 277]
The color silver. In the default sRGB space.
Tags:
static method SKY_BLUE [line 487]
The color sky blue. In the default sRGB space.
Tags:
static method TEAL [line 389]
The color teal. In the default sRGB space.
Tags:
static method transparencyOf [line 595]
static int transparencyOf(
value
$value)
|
|
Returns an integer from 0 to 100 that is the percent of transparency of this color.
Tags:
Parameters:
static method TRANSPARENT [line 146]
static void TRANSPARENT(
)
|
|
Tags:
static method WHITE [line 305]
The color white. In the default sRGB space.
Tags:
static method WHITE_SMOKE [line 319]
static void WHITE_SMOKE(
)
|
|
The color white smoke. In the default sRGB space.
Tags:
static method YELLOW [line 221]
The color yellow. In the default sRGB space.
Tags:
constructor Color [line 61]
Color Color(
[integer
$red = 0], [integer
$green = 0], [integer
$blue = 0], [integer
$alpha = 0], [
$_empty = false], [
$none = false])
|
|
Creates a new color
Tags:
Parameters:
destructor __destruct [line 76]
method applyBright [line 674]
void applyBright(
$howMuch)
|
|
Tags:
Parameters:
method applyDark [line 639]
Color applyDark(
howMuch
$howMuch)
|
|
Converts the Color parameter to a darker color.
The HowMuch parameter indicates the quantity of dark increment.
It is used by Bar Series and Pie Series to calculate the right color t to draw Bar sides and Pie 3D zones.
Tags:
Parameters:
method getAlpha [line 607]
Returns the alpha component in the range 0-255.
Tags:
method getBlue [line 256]
The color blue. In the default sRGB space.
Tags:
method getColor [line 94]
void getColor(
$img
$img)
|
|
Get GD color
Tags:
Parameters:
method getEmpty [line 118]
Returns true when the Color equals to EMPTY color.
EMPTY Color means objects will not fill drawing elements.
Tags:
method getGreen [line 242]
The color green. In the default sRGB space.
Tags:
method getNone [line 130]
method getRed [line 228]
The color red. In the default sRGB space.
Tags:
method getRGB [line 625]
Returns the RGB value representing the color in the default sRGB ColorModel.
(Bits 24-31 are alpha, 16-23 are red, 8-15 are green, 0-7 are blue).
Tags:
method isEmpty [line 108]
method isNull [line 126]
method setEmpty [line 122]
method setNone [line 134]
method transparentColor [line 581]
Color transparentColor(
value
$value)
|
|
Returns Color with transparency percentage applied.
Tags:
Parameters:
method __get [line 37]
method __set [line 44]
void __set(
$property,
$value)
|
|
Parameters: