Difference between revisions of "API Panel.Graphics.DrawText"

From Flowcode Help
Jump to navigationJump to search
 
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>''
 

Latest revision as of 11:55, 16 January 2023

Fc9-comp-macro.png DrawText
Draws a line of text texture 
Fc9-f32-icon.png - FLOAT X
Initial horizontal position of text (depends on Align) 
Fc9-f32-icon.png - FLOAT Y
Initial vertical position of text (depends on Align) 
Fc9-string-icon.png - STRING Text
The text to draw, may be multiple lines 
Fc9-u8-icon.png - BYTE Align
The text alignment 
Fc9-void-icon.png - NONE Return


Detailed description

Examples

Calling in a calculation

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