[ class tree: ] [ index: ] [ all elements ]

Index of all elements

[ a ] [ c ] [ g ] [ h ] [ i ] [ m ] [ n ] [ p ] [ r ] [ s ]

a

allocateColor
in file Color.php, method Image_Color::allocateColor()
    Allocates a color in the given image.
top

c

changeLightness
in file Color.php, method Image_Color::changeLightness()
    changeLightness Changes the lightness of the color.
color2RGB
in file Color.php, method Image_Color::color2RGB()
Color.php
procedural page Color.php
top

g

getRange
in file Color.php, method Image_Color::getRange()
    getRange Given a degree, you can get the range of colors between one color and another color.
getTextColor
in file Color.php, method Image_Color::getTextColor()
    getTextColor Given a color, will return whether you should use a dark font or a light font.
top

h

hex2rgb
in file Color.php, method Image_Color::hex2rgb()
    hex2rgb Given a hex color, returns a 4 element array, with keys 0-2 containing the RGB values appropriately and with key 3 containing the original color.
hsv2hex
in file Color.php, method Image_Color::hsv2hex()
    hsv2hex Converts a HSV (Hue, Saturation, Brightness) value to Hexidecimal.
hsv2rgb
in file Color.php, method Image_Color::hsv2rgb()
    hsv2rgb Converts a HSV (Hue, Saturation, Brightness) value to RGB.
top

i

Image_Color
in file Color.php, class Image_Color
    Color Handles and manages color mixing.
top

m

mixColors
in file Color.php, method Image_Color::mixColors()
    mixColors Given two colors, this will return a mix of the two together.
top

n

namedColor2RGB
in file Color.php, method Image_Color::namedColor2RGB()
    Returns the RGB interger values of a named color, [0,0,0] if unknown.
top

p

percentageColor2RGB
in file Color.php, method Image_Color::percentageColor2RGB()
    Returns the RGB integer values of a color specified by a "percentage string" like "50%,20%,100%".
top

r

rgb2hex
in file Color.php, method Image_Color::rgb2hex()
    rgb2hex Given an array of 3 elements containing RGB information, it will return a string of the HEX color.
top

s

setColors
in file Color.php, method Image_Color::setColors()
    setColors This class primarily works with two colors, and using this function, you can easily set both colors.
setWebSafe
in file Color.php, method Image_Color::setWebSafe()
    setWebSafe Sets whether we should output websafe colors or not.
top

Documentation generated on Mon, 11 Mar 2019 10:15:02 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.