Jump to content

API Panel.Graphics.DrawText

From Flowcode Help
Revision as of 14:07, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"")
DrawText
Draws a line of text texture 
- FLOAT X
Initial horizontal position of text (depends on Align) 
- FLOAT Y
Initial vertical position of text (depends on Align) 
- STRING Text
The text to draw, may be multiple lines 
- BYTE Align
The text alignment 
- NONE Return


Detailed description

Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.Graphics.DrawText(x, y, "text", ::Panel.Graphics.Align_TopLeft)