Draw.Line (gb.sdl2)
Static Sub Line ( X1 As Integer, Y1 As Integer, X2 As Integer, Y2 As Integer [ , Color As Integer ] )
Draw a line on the current drawing device using the specified color.
-
X1 , Y1 : the starting point of the line.
-
X2 , Y2 : the end point of the line.
-
Color : the line color. By default, the Background color is used.