b2dGetStringHeight

Category: 2D Overlay

Syntax:

b2dGetStringHeight:Int(text:String, font:Int)


Parameters

Returns

Int



Summary

Returns the exact height of rendered text string in pixels.

Takes text (string to measure, any UTF-8 text), font (font handle from b2dLoadFont, positive integer).

Returns the exact height of rendered text string in pixels.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn