Changes

Jump to navigation Jump to search

gc:drawString

23 bytes added, 13:35, 18 June 2012
no edit summary
Line 22: Line 22:  
| <u><center>y</center></u> || number || the ''y'' coordinate of the beginning of the string. Relative to ''position''.
 
| <u><center>y</center></u> || number || the ''y'' coordinate of the beginning of the string. Relative to ''position''.
 
|-
 
|-
| <u><center>position</center></u> || string || the string’s anchor point. It can either be "baseline", “bottom”, “middle”, or “top”.
+
| <u><center>position</center></u> || string || the string’s anchor point. It can either be "baseline", “bottom”, “middle”, or “top”. See screenshot below.
 
|}
 
|}
 
== Example ==
 
== Example ==
Line 29: Line 29:  
end</syntaxhighlight>
 
end</syntaxhighlight>
 
will display&nbsp;&nbsp;&nbsp; Hello World &nbsp;&nbsp;&nbsp; at the top-left part of the screen.
 
will display&nbsp;&nbsp;&nbsp; Hello World &nbsp;&nbsp;&nbsp; at the top-left part of the screen.
 +
    
== Good to know ==
 
== Good to know ==

Navigation menu