b2dDrawTextEx

Category: 2D Overlay

Syntax:

b2dDrawTextEx:Void(text:String, x:Int, y:Int, centre:Int, font:Int, shader:Int)


Parameters

Returns

Void



Summary

Draws text with custom pixel shader effect.

Takes text (string to display; ASCII with a bitmap font, or full Unicode/UTF-8 with a TTF font (see b2dLoadTTF)), x (X position in pixels, integer), y (Y position in pixels, integer), centre (alignment: 0=left-aligned, 1=centered on x position), font (font handle from b2dLoadFont, positive integer), shader (shader handle from b2dLoadTextShader, 0=default).

Returns nothing.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn