line — Draw a line
Draw a line from x,y point 1 to x,y point 2 on current image. Define color and/or width of line in an optional Closure callback.
X-Coordinate of the starting point.
Y-Coordinate of the starting point.
Y-Coordinate of the end point.
Define appearance of line. See examples below. Use the following methods to pass details.
color
width
Set the width of the line in pixels. Option is not available with GD driver Default: 1
Instance of Intervention\Image\Image