Exemple #1
0
 /**
  * Draw a line in current image starting at point 1 and ending at point 2
  *
  * @param string $color
  * @param integer $x1
  * @param integer $y1
  * @param integer $x2
  * @param integer $y2
  * @return \Intervention\Image\Image 
  * @static 
  */
 public static function line($color, $x1 = 0, $y1 = 0, $x2 = 10, $y2 = 10)
 {
     return \Intervention\Image\Image::line($color, $x1, $y1, $x2, $y2);
 }