Surface.fillRects - multiple declarations
Function Surface.fillRects
Wraps SDL_FillRects
which draws multiple filled rectangles in the dsdl2
with specifying a pixel
color value
Parameters
Name | Description |
---|---|
rects | an array of dsdl2 s specifying the drawn rectangles' positions and sizes |
pixel | pixel value of the color to fill the rectangles |
Throws
dsdl2
if the rectangles failed to draw
Function Surface.fillRects
Wraps SDL_FillRects
which draws multiple filled rectangles in the dsdl2
with specifying a
dsdl2
value
Parameters
Name | Description |
---|---|
rects | an array of dsdl2 s specifying the drawn rectangles' positions and sizes |
color | dsdl2 of the color to fill the rectangles |
Throws
dsdl2
if the rectangles failed to draw