Re: NSColor - set vs. setFill
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