public __construct ( array $point1, array $point2, integer $thickness = 1, |
||
$point1 | array | Array containing int X and int Y position of the starting point. |
$point2 | array | Array containing int X and int Y position of the starting point. |
$thickness | integer | Thickness in pixel. Note: This is currently ignored in GD editor and falls back to 1. |
$color | Color of the line. Defaults to black. |