Changes

Jump to navigation Jump to search

gc:drawString

80 bytes added, 15:33, 18 June 2012
Line 24: Line 24:  
| <u><center>position</center></u> || string || the string’s anchor point. It can either be "baseline", “bottom”, “middle”, or “top”. See screenshot below.
 
| <u><center>position</center></u> || string || the string’s anchor point. It can either be "baseline", “bottom”, “middle”, or “top”. See screenshot below.
 
|}
 
|}
 +
 +
The ''position'' argument is optional, but defaults to "bottom" as of OS 3.2.
 +
 
== Example ==
 
== Example ==
 
<syntaxhighlight>function on.paint(gc)
 
<syntaxhighlight>function on.paint(gc)

Navigation menu