On 12/28/11 12:37 PM, Nate Lowrie wrote:
> Found it.  Is there a vertical alignment property for strings?

No. The y property specifies the baseline for the string. y's and g's have 
descenders 
that will drop below the baseline.

Do you have a use-case for specifying "middle" for strings where we'd figure 
that out 
using this formula:

   if alignment == "middle":
     y += (fontSize/2)
   elif alignment == "top":
     y += fontSize

Paul


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to