Dompdf\Adapter\GD::line
Draws a line from x1,y1 to x2,y2
See for the format of the color array. See for a description of the format of the $style parameter (aka dash).
Signature
public function line(float
$x1,
float
$y1,
float
$x2,
float
$y2,
array
$color,
float
$width,
[array
$style = NULL] )
Parameters
$x1
— float$y1
— float$x2
— float$y2
— float$color
— array$width
— float$style
— array