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