Jump to content

API Panel.Graphics.DrawText: Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 33: Line 33:


==Detailed description==
==Detailed description==
''<span style="color:red;">No additional information</span>''
 




Line 39: Line 39:
===Calling in a calculation===
===Calling in a calculation===
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Graphics.DrawText(x, y, "text", ::Panel.Graphics.Align_TopLeft)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Graphics.DrawText(x, y, "text", ::Panel.Graphics.Align_TopLeft)</pre>
''<span style="color:red;">No additional examples</span>''

Revision as of 11:55, 16 January 2023

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)