Jump to content

API Panel.Graphics.DrawText

From Flowcode Help
Revision as of 14:11, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)