Jump to content

API Panel.Graphics.DrawText: Difference between revisions

From Flowcode Help
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable""
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead""
Line 1: Line 1:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawText'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawText'''
|-
|-

Revision as of 14:08, 13 July 2026

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)