draw Line
external fun drawLine(xStart: Float, yStart: Float, xEnd: Float, yEnd: Float, color: Int = 0, thickness: Float = 1.0f)
Draws a line.
Parameters
x Start
x position for the starting point of the line.
y Start
y position for the starting point of the line.
x End
x position for the ending point of the line.
y End
y position for the ending point of the line.
color
Color of the shape.
thickness
Thickness of the shape.