b2dGetFontWidth

Category: 2D Overlay

Syntax:

b2dGetFontWidth:Int(font:Int)


Parameters

Returns

Int



Summary

Returns the average character width of the font in pixels.

Takes font (font handle from b2dLoadFont, positive integer).

Returns the average character width of the font in pixels.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn