Category: 2D Overlay
Syntax:
b2dDrawRect:Void(x:Int, y:Int, width:Int, height:Int, fill:Int)
Void
Draws a rectangle with specified position, size, and fill mode.
Takes x (top-left X position in pixels, integer), y (top-left Y position in pixels, integer), width (rectangle width in pixels, positive integer), height (rectangle height in pixels, positive integer), fill (fill mode: 0=outline only, 1=filled solid).
Returns nothing.
View detailed documentation online
;No example implemented yet
BambooBasic © 2026 Michael Denathorn