b2dDrawCircle

Draws a circle with specified center, radius, and fill mode. Takes x (center X position in pixels, integer), y (center Y position in pixels, integer), radius (circle radius in pixels, positive integer), segments (number of line segments for smoothness, higher=smoother, typical 16-64), fill (fill mode: 0=outline only, 1=filled solid). Returns nothing.

2D Overlay

Parameters & Returns

Parameters

x Int
y Int
radius Int
segments Int
fill Int

Returns

Void

Quick Summary

Draws a circle with specified center, radius, and fill mode. Takes x (center X position in pixels, integer), y (center Y position in pixels, integer), radius (circle radius in pixels, positive integer), segments (number of line segments for smoothness, higher=smoother, typical 16-64), fill (fill mode: 0=outline only, 1=filled solid). Returns nothing.

Technical Exegesis...

Draws a circle with specified center, radius, and fill mode. Takes x (center X position in pixels, integer), y (center Y position in pixels, integer), radius (circle radius in pixels, positive integer), segments (number of line segments for smoothness, higher=smoother, typical 16-64), fill (fill mode: 0=outline only, 1=filled solid). Returns nothing. Queues circle draw command to deferred rendering buffer, executed during b3dRenderWorld. Uses current color state from b2dSetColor and alpha from b2dSetAlpha.

Example

Example.bam
; No example implemented yet