コード例 #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));
 }
コード例 #2
0
ファイル: Dashed.php プロジェクト: ookwudili/chisimba
 /**
  * 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));
 }
コード例 #3
0
ファイル: Dotted.php プロジェクト: casati-dolibarr/corebos
 /**
  * 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));
 }