/** * Image_Graph_GradientFill [Constructor] * * @param int $direction The direction of the gradient * @param mixed $startColor The value of the starting color * @param mixed $endColor The value of the ending color */ function Image_Graph_Fill_Gradient($direction, $startColor, $endColor) { parent::Image_Graph_Fill(); $this->_direction = $direction; $this->_startColor = $startColor; $this->_endColor = $endColor; }
/** * Image_Graph_ImageFill [Constructor] * * @param string $filename The filename and path of the image to use for filling */ function Image_Graph_Fill_Image($filename) { parent::Image_Graph_Fill(); $this->_filename = $filename; }