Category: 2D Overlay
Syntax:
b2dLoadTTF:Int(path:String, pixelHeight:Int)
Int
Loads a TrueType/OpenType font (.ttf/.otf) at a given pixel height.
Takes path (path to the font file) and pixelHeight (the size to render glyphs at, in pixels).
Returns a font handle (positive integer for success, 0 for failure).
View detailed documentation online
;No example implemented yet
BambooBasic © 2026 Michael Denathorn