public line ( integer $x0, integer $y0, integer $x1, integer $y1, string $color = 'black', string $width = 1 ) | ||
$x0 | integer | The x coordinate of the start. |
$y0 | integer | The y coordinate of the start. |
$x1 | integer | The x coordinate of the end. |
$y1 | integer | The y coordinate of the end. |
$color | string | The line color. |
$width | string | The width of the line. |