Changes

Jump to navigation Jump to search

gc:drawString

90 bytes added, 08:00, 8 April 2015
top default in recent apilevels
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”. See screenshot below.
+
| <u><center>position</center></u> || string || the string’s anchor point (vertical alignment). 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.
+
The ''position'' argument is optional, and defaults to "bottom" when not specified in apilevels < 2.3. For apilevels >= 2.3, the default is "top".
    
== Example ==
 
== Example ==

Navigation menu