* @author Stefan Neufeind * @copyright 2003-2009 The PHP Group * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 * @version SVN: $Id: Dashed.php 291170 2009-11-23 03:50:22Z neufeind $ * @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 * @author Stefan Neufeind * @copyright 2003-2009 The PHP Group * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 * @version Release: 0.8.0 * @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::__construct( array( $color1, $color1, $color1, $color1, $color2, $color2 ) ); } } ?>