Draw.Lines (gb.sdl2)

Static Sub Lines ( Lines As Integer[] [ , Color As Integer ] )

Draw some number of lines on the current drawing device with the specified color.

  • Lines : a list of at least 2 points as an array of integers, using the following pattern: [ X1, Y1, X2, Y2, ... ]. A line is drawn between each successive point.

  • Color : the color of the lines. If not specified, the Background color is used.