b2dDrawQuad

Category: 2D Overlay

Syntax:

b2dDrawQuad:Void(x1:Int, y1:Int, x2:Int, y2:Int, x3:Int, y3:Int, x4:Int, y4:Int, fill:Int)


Parameters

Returns

Void



Summary

Draws a four-cornered quad (filled or outline) from four points.

View detailed documentation online



Example
b2dSetColor(200, 180, 60)
b2dDrawQuad(100,100, 200,120, 190,220, 90,200, 1)

BambooBasic © 2026 Michael Denathorn