API Panel.Graphics.DrawText: Difference between revisions
Appearance
XML import of API auto-gen |
XML import API auto-gen |
||
| Line 1: | Line 1: | ||
wiki page name | wiki page name | ||
Draws a line of text texture | |||
===Parameters=== | ===Parameters=== | ||
| Line 37: | Line 35: | ||
===Examples=== | ===Examples=== | ||
====Calling in a calculation | ====Calling in a calculation==== | ||
* Add to a calculation icon: ::Panel.Graphics.DrawText(x, y, "text", ::Panel.Graphics.Align_TopLeft) | * Add to a calculation icon: ::Panel.Graphics.DrawText(x, y, "text", ::Panel.Graphics.Align_TopLeft) | ||
Revision as of 15:34, 10 May 2013
wiki page name Draws a line of text texture
Parameters
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
- The default value for this parameter is: 0
Typical values for this parameter:
Return value
This call does not return a value
Detailed description
No additional information
Examples
Calling in a calculation
- Add to a calculation icon: ::Panel.Graphics.DrawText(x, y, "text", ::Panel.Graphics.Align_TopLeft)