* @copyright Copyright (C) 2003, 2004 Jesper Veggerby Hansen * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 * @version CVS: $Id$ * @link http://pear.php.net/package/Image_Graph */ /** * Include file Image/Graph/Line/Formatted.php */ require_once 'Image/Graph/Line/Formatted.php'; /** * Dashed line style. * * This style displays as a short line with a shorter space afterwards, i.e * 4px color1, 2px color2, 4px color1, etc. * * @category Images * @package Image_Graph * @subpackage Line * @author Jesper Veggerby * @copyright Copyright (C) 2003, 2004 Jesper Veggerby Hansen * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 * @version Release: @package_version@ * @link http://pear.php.net/package/Image_Graph */ class Image_Graph_Line_Dashed extends Image_Graph_Line_Formatted { /** * Image_Graph_DashedLine [Constructor] * * @param mixed $color1 The color for the 'dashes' * @param mixed $color2 The color for the 'spaces' */ function Image_Graph_Line_Dashed($color1, $color2) { parent::Image_Graph_Line_Formatted( array( $color1, $color1, $color1, $color1, $color2, $color2 ) ); } } ?>