static method AQUA [line 439]
The color aqua. In the default sRGB space.
Tags:
static method BISQUE [line 481]
The color bisque. In the default sRGB space.
Tags:
static method BLACK [line 173]
The color black. In the default sRGB space.
Tags:
static method BLUE [line 243]
The color blue. In the default sRGB space.
Tags:
static method CYAN [line 551]
The color cyan. In the default sRGB space.
Tags:
static method DARK_GRAY [line 187]
The color dark gray. In the default sRGB space.
Tags:
static method EMPTYCOLOR [line 122]
static void EMPTYCOLOR(
)
|
|
Tags:
static method fromArgb [line 118]
static void fromArgb(
$a,
$r,
$g,
$b)
|
|
Tags:
Parameters:
static method fromRgb [line 143]
static void fromRgb(
$r,
$g,
$b)
|
|
Tags:
Parameters:
static method FUCHSIA [line 355]
The color fuchsia. In the default sRGB space.
Tags:
static method getAqua [line 432]
The color aqua. In the default sRGB space.
Tags:
static method getBisque [line 474]
The color bisque. In the default sRGB space.
Tags:
static method getBlack [line 166]
The color black. In the default sRGB space.
Tags:
static method getCyan [line 544]
The color cyan. In the default sRGB space.
Tags:
static method getDarkGray [line 180]
static void getDarkGray(
)
|
|
The color dark gray. In the default sRGB space.
Tags:
static method getFuchsia [line 348]
static void getFuchsia(
)
|
|
The color fuchsia. In the default sRGB space.
Tags:
static method getGold [line 320]
The color gold. In the default sRGB space.
Tags:
static method getGray [line 264]
The color gray. In the default sRGB space.
Tags:
static method getGreenYellow [line 446]
static void getGreenYellow(
)
|
|
The color green yellow. In the default sRGB space.
Tags:
static method getIndigo [line 488]
The color indigo. In the default sRGB space.
Tags:
static method getLightYellow [line 334]
static void getLightYellow(
)
|
|
Tags:
static method getLime [line 390]
The color lime. In the default sRGB space.
Tags:
static method getMagenta [line 530]
static void getMagenta(
)
|
|
The color magenta. In the default sRGB space.
Tags:
static method getMaroon [line 376]
The color maroon. In the default sRGB space.
Tags:
static method getNavy [line 306]
The color navy. In the default sRGB space.
Tags:
static method getOlive [line 404]
The color olive. In the default sRGB space.
Tags:
static method getOrange [line 516]
The color orange. In the default sRGB space.
Tags:
static method getPink [line 502]
The color pink. In the default sRGB space.
Tags:
static method getPurple [line 418]
The color purple. In the default sRGB space.
Tags:
static method getSilver [line 250]
The color silver. In the default sRGB space.
Tags:
static method getSkyBlue [line 460]
static void getSkyBlue(
)
|
|
The color sky blue. In the default sRGB space.
Tags:
static method getTeal [line 362]
The color teal. In the default sRGB space.
Tags:
static method getWhite [line 278]
The color white. In the default sRGB space.
Tags:
static method getWhiteSmoke [line 292]
static void getWhiteSmoke(
)
|
|
The color white smoke. In the default sRGB space.
Tags:
static method getYellow [line 194]
The color yellow. In the default sRGB space.
Tags:
static method GOLD [line 327]
The color gold. In the default sRGB space.
Tags:
static method GRAY [line 271]
The color gray. In the default sRGB space.
Tags:
static method GREEN [line 229]
The color green. In the default sRGB space.
Tags:
static method GREEN_YELLOW [line 453]
static void GREEN_YELLOW(
)
|
|
The color green yellow. In the default sRGB space.
Tags:
static method INDIGO [line 495]
The color indigo. In the default sRGB space.
Tags:
static method LIGHT_YELLOW [line 341]
static void LIGHT_YELLOW(
)
|
|
The color light yellow. In the default sRGB space.
Tags:
static method LIME [line 397]
The color lime. In the default sRGB space.
Tags:
static method MAGENTA [line 537]
The color magenta. In the default sRGB space.
Tags:
static method MAROON [line 383]
The color maroon. In the default sRGB space.
Tags:
static method NAVY [line 313]
The color navy. In the default sRGB space.
Tags:
static method OLIVE [line 411]
The color olive. In the default sRGB space.
Tags:
static method ORANGE [line 523]
The color orange. In the default sRGB space.
Tags:
static method PINK [line 509]
The color pink. In the default sRGB space.
Tags:
static method PURPLE [line 425]
The color purple. In the default sRGB space.
Tags:
static method random [line 156]
Creates a new Color instance with random RED, GREEN and BLUE color components.
Tags:
static method RED [line 215]
The color red. In the default sRGB space.
Tags:
static method SILVER [line 257]
The color silver. In the default sRGB space.
Tags:
static method SKY_BLUE [line 467]
The color sky blue. In the default sRGB space.
Tags:
static method TEAL [line 369]
The color teal. In the default sRGB space.
Tags:
static method transparencyOf [line 575]
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 126]
static void TRANSPARENT(
)
|
|
Tags:
static method WHITE [line 285]
The color white. In the default sRGB space.
Tags:
static method WHITE_SMOKE [line 299]
static void WHITE_SMOKE(
)
|
|
The color white smoke. In the default sRGB space.
Tags:
static method YELLOW [line 201]
The color yellow. In the default sRGB space.
Tags:
constructor Color [line 52]
Color Color(
[integer
$red = 0], [integer
$green = 0], [integer
$blue = 0], [integer
$alpha = 0], [
$_empty = false], [
$none = false])
|
|
Creates a new color
Tags:
Parameters:
method applyBright [line 654]
void applyBright(
$howMuch)
|
|
Tags:
Parameters:
method applyDark [line 619]
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 587]
Returns the alpha component in the range 0-255.
Tags:
method getBlue [line 236]
The color blue. In the default sRGB space.
Tags:
method getColor [line 74]
void getColor(
$img
$img)
|
|
Get GD color
Tags:
Parameters:
method getEmpty [line 98]
Returns true when the Color equals to EMPTY color.
EMPTY Color means objects will not fill drawing elements.
Tags:
method getGreen [line 222]
The color green. In the default sRGB space.
Tags:
method getNone [line 110]
method getRed [line 208]
The color red. In the default sRGB space.
Tags:
method getRGB [line 605]
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 88]
method isNull [line 106]
method setEmpty [line 102]
method setNone [line 114]
method transparentColor [line 561]
Color transparentColor(
value
$value)
|
|
Returns Color with transparency percentage applied.
Tags:
Parameters:
method __get [line 28]
method __set [line 35]
void __set(
$property,
$value)
|
|
Parameters: