• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: text to bezier path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Ligatures with appendBezierPathWithGlyph
      • From: Stefan Werner <email@hidden>
References: 
 >Re: text to bezier path (From: "Chase" <email@hidden>)

  • Prev by Date: Re: text to bezier path
  • Next by Date: Re: NSTreeController, minus set mutation, array exception
  • Previous by thread: Re: text to bezier path
  • Next by thread: Ligatures with appendBezierPathWithGlyph
  • Index(es):
    • Date
    • Thread