• 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: drawInRect:withAttributes: Attributes ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drawInRect:withAttributes: Attributes ?


  • Subject: Re: drawInRect:withAttributes: Attributes ?
  • From: Frederick Cheung <email@hidden>
  • Date: Mon, 2 Aug 2004 20:21:30 +0200

On 2 Aug 2004, at 19:52, Julien Salort wrote:

Hi,

I'd like to use NSString drawInRect method to draw text centered within
a specified rectangle (both horizontally and vertically).

However, I haven't been able to find what are the possible attributes I
can pass to withAttributes:.
Are they documented somewhere ?

It's the same as the attributes for an attributed string.

Fred
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >drawInRect:withAttributes: Attributes ? (From: email@hidden (Julien Salort))

  • Prev by Date: Re: NSBorderless and acceptsFirstMouse
  • Next by Date: Re: drawInRect:withAttributes: Attributes ?
  • Previous by thread: drawInRect:withAttributes: Attributes ?
  • Next by thread: Re: drawInRect:withAttributes: Attributes ?
  • Index(es):
    • Date
    • Thread