Exemplo n.º 1
0
 /**
  * Image_Graph_DashedLine [Constructor]
  *
  * @param mixed $color1 The color for the 'dashes'
  * @param mixed $color2 The color for the 'spaces'
  */
 function __construct($color1, $color2)
 {
     parent::__construct(array($color1, $color1, $color1, $color1, $color2, $color2));
 }
Exemplo n.º 2
0
 /**
  * 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));
 }
Exemplo n.º 3
0
 /**
  * DottedLine [Constructor]
  *
  * @param mixed $color1 The color representing the dots
  * @param mixed $color2 The color representing the spaces
  */
 function Image_Graph_Line_Dotted($color1, $color2)
 {
     parent::__construct(array($color1, $color2));
 }