b2dDrawLine

Category: 2D Overlay

Syntax:

b2dDrawLine:Void(x1:Int, y1:Int, x2:Int, y2:Int)


Parameters

Returns

Void



Summary

Draws a straight line between two points.

Takes x1 (start X position in pixels, integer), y1 (start Y position in pixels, integer), x2 (end X position in pixels, integer), y2 (end Y position in pixels, integer).

Returns nothing.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn