| | Index of all elements[ a ]
	[ c ]
	[ f ]
	[ g ]
	[ h ]
	[ i ]
	[ m ]
	[ n ]
	[ r ]
	[ w ]
	[ _ ]
 
		topa
							averagein file Color2.php, method Image_Color2::average()Return the average of the RGB value of two Image_Color2 objects. If  both objects have an alpha channel it will be averaged too.
 
 top
 
 
 
		topf
							fromArrayin file Hsl.php, method Image_Color2_Model_Hsl::fromArray()Pull the HSL components out of the array and return a color model  object. Hue is a integer degree between from 0 to 360 and the Saturation  and Lightness are floats between 0 and 1.
fromArrayin file Named.php, method Image_Color2_Model_Named::fromArray()fromArrayin file Cmyk.php, method Image_Color2_Model_Cmyk::fromArray()fromArrayin file Hsv.php, method Image_Color2_Model_Hsv::fromArray()Pull the HSV components out of the array and return a color model object.
fromArrayin file Model.php, method Image_Color2_Model::fromArray()Create an Image_Color2_Model from an array of values.
fromArrayin file Hex.php, method Image_Color2_Model_Hex::fromArray()Construct a new Image_Color2_Model from the components in an array. The  array format happens to be the PEAR style RGB array so we just hand it  off to fromRgb.
fromArrayin file WebsafeHex.php, method Image_Color2_Model_WebsafeHex::fromArray()fromArrayin file Grayscale.php, method Image_Color2_Model_Grayscale::fromArray()Pull the grayscale component out of the array and return a instance of  Image_Color2_Model.
fromRgbin file Hsv.php, method Image_Color2_Model_Hsv::fromRgb()Convert the RGB array into HSV components and return a new Model  class.
fromRgbin file Named.php, method Image_Color2_Model_Named::fromRgb()fromRgbin file Cmyk.php, method Image_Color2_Model_Cmyk::fromRgb()fromRgbin file Hex.php, method Image_Color2_Model_Hex::fromRgb()Pass the RGB components to the constructor and return a new instance of  Image_Color2_Model.
fromRgbin file Model.php, method Image_Color2_Model::fromRgb()Create an Image_Color2_Model from an RGB array.
fromRgbin file Grayscale.php, method Image_Color2_Model_Grayscale::fromRgb()Pass the RGB components to the constructor and return a new instance of  Image_Color2_Model.
fromRgbin file Hsl.php, method Image_Color2_Model_Hsl::fromRgb()fromRgbin file WebsafeHex.php, method Image_Color2_Model_WebsafeHex::fromRgb()fromStringin file WebsafeHex.php, method Image_Color2_Model_WebsafeHex::fromString()fromStringin file Named.php, method Image_Color2_Model_Named::fromString()fromStringin file Hsl.php, method Image_Color2_Model_Hsl::fromString()Pull the HSL components out of the string and return a color model  object. Hue is a integer degree between 0 and 360 while the Saturation  and Lightness are either percentages or values between 0 and 1.
fromStringin file Cmyk.php, method Image_Color2_Model_Cmyk::fromString()fromStringin file Grayscale.php, method Image_Color2_Model_Grayscale::fromString()Convert the Grayscale string into RGB components and return a new  instance of Image_Color2_Model.
fromStringin file Hex.php, method Image_Color2_Model_Hex::fromString()Convert the hex string into RGB components and return a new instance of  Image_Color2_Model. Allow both #abc and #aabbcc forms.
fromStringin file Hsv.php, method Image_Color2_Model_Hsv::fromString()Pull the HSV components out of the string and return a color model  object. Hue is a integer degree between from 0 to 360 and the Saturation  and Value are either percentages or values between 0 and 1.
fromStringin file Model.php, method Image_Color2_Model::fromString()Create an Image_ColorModel from a color model specific string.
 
 
 
		topg
							getArrayin file Grayscale.php, method Image_Color2_Model_Grayscale::getArray()getArrayin file Hsv.php, method Image_Color2_Model_Hsv::getArray()getArrayin file Hex.php, method Image_Color2_Model_Hex::getArray()getArrayin file Cmyk.php, method Image_Color2_Model_Cmyk::getArray()getArrayin file Hsl.php, method Image_Color2_Model_Hsl::getArray()getArrayin file Model.php, method Image_Color2_Model::getArray()Get an array of values to represent a color in this color model. This  should be parseable by fromArray() and should include a type element.
getArrayin file Named.php, method Image_Color2_Model_Named::getArray()getArrayin file Color2.php, method Image_Color2::getArray()Return the color in a color model dependant, array format. If the color  was specified as an RGB array this will return the same results as  getRgb(). Otherwise, the results depend on the underlying color model.
getHexin file Color2.php, method Image_Color2::getHex()Return a hex string representation of the color.
getRgbin file Named.php, method Image_Color2_Model_Named::getRgb()getRgbin file Hsv.php, method Image_Color2_Model_Hsv::getRgb()getRgbin file Hsl.php, method Image_Color2_Model_Hsl::getRgb()getRgbin file Model.php, method Image_Color2_Model::getRgb()Get an RGB array of the color.
getRgbin file Hex.php, method Image_Color2_Model_Hex::getRgb()getRgbin file Grayscale.php, method Image_Color2_Model_Grayscale::getRgb()getRgbin file Color2.php, method Image_Color2::getRgb()Return the color as a PEAR style RGB array.
getRgbin file Cmyk.php, method Image_Color2_Model_Cmyk::getRgb()getStringin file Model.php, method Image_Color2_Model::getString()Get a string to represent a color in this color model. The string should  be parsable by fromString().
getStringin file Cmyk.php, method Image_Color2_Model_Cmyk::getString()getStringin file Named.php, method Image_Color2_Model_Named::getString()getStringin file Hsv.php, method Image_Color2_Model_Hsv::getString()getStringin file Hsl.php, method Image_Color2_Model_Hsl::getString()getStringin file Color2.php, method Image_Color2::getString()Return the color as a string. If the color was specified as an RGB array  this is exactly the same as calling getHex(). Otherwise, the results  depend on the underlying color model.
getStringin file Hex.php, method Image_Color2_Model_Hex::getString()getStringin file Grayscale.php, method Image_Color2_Model_Grayscale::getString()Grayscale.phpprocedural page Grayscale.php 
 top
 
 
 
		topi
							Image_Color2in file Color2.php, class Image_Color2Image_Color2 is a PHP5 package to convert between RGB and various other  color models.
Image_Color2_Modelin file Model.php, class Image_Color2_ModelAn interface for color model classes to allow conversion of colors to and  from RGB. This class should be imutable, meaning that once it's constructed  the value is not changed.
Image_Color2_Model_Cmykin file Cmyk.php, class Image_Color2_Model_CmykCMYK is a subtractive colormodel used in printing.
Image_Color2_Model_Grayscalein file Grayscale.php, class Image_Color2_Model_GrayscaleGrayscale color model converts RGB values to gray scale using perceptive  proportional sum of the RGB channels.
Image_Color2_Model_Hexin file Hex.php, class Image_Color2_Model_HexHex color model defines RGB colors using hexadecimal values for each  component.
Image_Color2_Model_Hslin file Hsl.php, class Image_Color2_Model_HslHSL (also called HSI or HLS) color model defines colors in terms of Hue,  Saturation, and Lightness (also Luminance, Luminosity or Intensity).
Image_Color2_Model_Hsvin file Hsv.php, class Image_Color2_Model_HsvHSV (also called HSB) color model defines colors in terms of Hue,  Saturation, and Value (or Brightness).
Image_Color2_Model_Namedin file Named.php, class Image_Color2_Model_NamedNamed color model represents colors by looking up the "webstandard" name  in a list of corresponding RGB values.
Image_Color2_Model_WebsafeHexin file WebsafeHex.php, class Image_Color2_Model_WebsafeHexHex color model that is limited to websafe colors.
 
 
 
		topm
							$modelin file Color2.php, variable Image_Color2::$modelColor model used to read a non-RGB color. This is assigned by the  constructor. If the source color is RGB no color model is needed so this  will be null.
Model.phpprocedural page Model.php 
 top
 
 top
 
 top
 
 
 
		top_
							$_bin file Hex.php, variable Image_Color2_Model_Hex::$_bBlue component
$_cin file Cmyk.php, variable Image_Color2_Model_Cmyk::$_cCyan component
$_gin file Hex.php, variable Image_Color2_Model_Hex::$_gGreen component
$_hin file Hsl.php, variable Image_Color2_Model_Hsl::$_hHue component
$_hin file Hsv.php, variable Image_Color2_Model_Hsv::$_hHue component
$_kin file Cmyk.php, variable Image_Color2_Model_Cmyk::$_kBlack component
$_lin file Hsl.php, variable Image_Color2_Model_Hsl::$_lLightness component
$_min file Cmyk.php, variable Image_Color2_Model_Cmyk::$_mMagneta component
$_namein file Named.php, variable Image_Color2_Model_Named::$_nameName of this color. It should exist in self::$_colornames.
$_rin file Hex.php, variable Image_Color2_Model_Hex::$_rRed component
$_sin file Hsl.php, variable Image_Color2_Model_Hsl::$_sSaturation component
$_sin file Hsv.php, variable Image_Color2_Model_Hsv::$_sSaturation component
$_vin file Hsv.php, variable Image_Color2_Model_Hsv::$_vValue component
$_valin file Grayscale.php, variable Image_Color2_Model_Grayscale::$_valGrayscale component
$_yin file Cmyk.php, variable Image_Color2_Model_Cmyk::$_yYellow component
__constructin file WebsafeHex.php, method Image_Color2_Model_WebsafeHex::__construct()Construct the websafe hex color from RGB components. All values will be  rounded to the closest websafe value.
__constructin file Named.php, method Image_Color2_Model_Named::__construct()Construct a named color.
__constructin file Hsv.php, method Image_Color2_Model_Hsv::__construct()Construct from HSV components.
__constructin file Hex.php, method Image_Color2_Model_Hex::__construct()Construct the hex color from RGB components.
__constructin file Cmyk.php, method Image_Color2_Model_Cmyk::__construct()Constuct from four floats.
__constructin file Color2.php, method Image_Color2::__construct()Construct a color from a string, array, or an instance of  Image_Color2_Model.
__constructin file Grayscale.php, method Image_Color2_Model_Grayscale::__construct()Construct the Grayscale color from RGB components.
__constructin file Hsl.php, method Image_Color2_Model_Hsl::__construct()Constuct from a integer for Hue, and two floats for Saturation and  Lightness.
 
 
		    
 
		    Documentation generated on Mon, 11 Mar 2019 15:39:06 -0400 by phpDocumentor 1.4.4 . PEAR Logo Copyright ©  PHP Group 2004.
	       | 
 |