DrawRoundedRectFilled
Draw a filled rounded rectangle with rounding as a required parameter.
Syntax
Susano.DrawRoundedRectFilled(x, y, w, h, rounding, r, g, b[, a]) -> void
Parameters
x, y (number): Top-left corner in pixels.
w, h (number): Width and height in pixels.
rounding (number): Corner rounding radius in pixels.
r, g, b (number): Color. Accepts 0..1 floats or 0..255 integers.
a (number, optional): Alpha. Default: 1.0.
Return(s)
None
Behavior
Convenience function that draws a filled rounded rectangle. Same as DrawRectFilled with rounding, but with rounding as a dedicated required parameter.
Example(s)
Susano.BeginFrame()
Susano.DrawRoundedRectFilled(100, 100, 200, 80, 12, 50, 50, 200, 220)
Susano.SubmitFrame()