API Panel.Graphics.DrawText: Difference between revisions
Appearance
XML import of API auto-gen |
XML import |
||
| Line 2: | Line 2: | ||
Draws a line of text texture | Draws a line of text texture | ||
<div style="width:25%; float:right" class="toc"> | |||
===Class hierarchy=== | |||
:Panel | |||
::Graphics | |||
:::DrawText | |||
</div> | |||
__TOC__ | |||
==Parameters== | |||
''[[Variable types|FLOAT]] X'' | ''[[Variable types|FLOAT]] X'' | ||
:Initial horizontal position of text (depends on Align) | :Initial horizontal position of text (depends on Align) | ||
| Line 28: | Line 35: | ||
|} | |} | ||
==Return value== | |||
''This call does not return a value'' | ''This call does not return a value'' | ||
==Detailed description== | |||
''No additional information'' | ''No additional information'' | ||
==Examples== | |||
===Calling in a calculation=== | |||
* Add to a calculation icon: <pre class="brush:[ | * Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Graphics.DrawText(x, y, "text", ::Panel.Graphics.Align_TopLeft)</pre> | ||
Revision as of 16:32, 11 May 2013
<sidebar>API contents</sidebar> Draws a line of text texture
Class hierarchy
- Panel
- Graphics
- DrawText
- Graphics
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)