Re: text to bezier path
Re: text to bezier path
- Subject: Re: text to bezier path
- From: Douglas Davidson <email@hidden>
- Date: Mon, 18 Jun 2007 13:47:07 -0700
On Jun 18, 2007, at 1:42 PM, Chase wrote:
hmmm.... cool. but the method for centering text is in the NSText
class (alignCenter:). how will I center the text in this case?
Set a centered paragraph style attribute on the text.
Alternatively, if you really want to use an NSTextView, just go ahead
and do it, do all of your formatting until everything is the way you
like it, then take [myTextView textStorage] and use that as the
attributed string on which to call the method I described.
Douglas Davidson
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden