• 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: NSColor - set vs. setFill
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSColor - set vs. setFill


  • Subject: Re: NSColor - set vs. setFill
  • From: Jeff LaMarche <email@hidden>
  • Date: Tue, 23 Aug 2005 12:50:07 -0400

On Aug 23, 2005, at 12:45 PM, Jeff LaMarche wrote:

I'm a little confused. The various NSBezierPath methods that fill a path such as +fillRect and -fill seem to use the color set using NSColor's method -set rather than -setFill. This being the case, I'm confused as to what purpose -setFill serves (Apple's documentation are far from illuminating)? Are there situations where the fill color is different from the drawing color? What, exactly, does setFill do?? Is it different from set, or just a pseudonym for it?

Never mind - I found it in the 10.3 AppKit release notes. NSColor now tracks the fill and stroke colors separately, and -set (supported for backward compatibility) sets both of them.



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >NSColor - set vs. setFill (From: Jeff LaMarche <email@hidden>)

  • Prev by Date: NSColor - set vs. setFill
  • Next by Date: Files paths with slashes in them
  • Previous by thread: NSColor - set vs. setFill
  • Next by thread: Files paths with slashes in them
  • Index(es):
    • Date
    • Thread