Draw.Rects (gb.sdl2)
Static Sub Rects ( Rectangles As Integer[] [ , Color As Integer ] )
Draw some number of rectangles on the current drawing device with the specified color.
-
Rectangles : a list of N rectangles as an array of 4N integers, using the following pattern:
[ X1, Y1, W1, H1, X2, Y2, W2, H2,... ]
-
Color : the color of the rectangles. If not specified, the Background color is used.