b2dDrawTextDouble

Draws floating-point number as text at specified position. Takes value (double-precision floating-point number to display), 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). Returns nothing.

2D Overlay

Parameters & Returns

Parameters

value Double
x Int
y Int
centre Int
font Int

Returns

Void

Quick Summary

Draws floating-point number as text at specified position. Takes value (double-precision floating-point number to display), 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). Returns nothing.

Technical Exegesis...

Draws floating-point number as text at specified position. Takes value (double-precision floating-point number to display), 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). Returns nothing. Converts double to string automatically using default precision, queues text draw command to deferred rendering buffer.

Example

Example.bam
; No example implemented yet