ClearSolidRectangle clears a rectangle (in screen coordinates) to the given color.
If blend is true, the rectangle is not actually cleared, it is 'normal' blended over the current buffer contents, with the alpha in the 'color'.
Parameters |
Description |
const Rect<int>& r |
The rectangular area to be cleared/filled. |
Color color |
The color used for the fill. |
bool blend |
Boolean value to determine how the rectangle is cleared. |