Re: Filling an NSBezierPath with a texture
Re: Filling an NSBezierPath with a texture
- Subject: Re: Filling an NSBezierPath with a texture
- From: Stéphane Sudre <email@hidden>
- Date: Sun, 13 Mar 2005 12:20:40 +0100
On dimanche, mars 13, 2005, at 09:57 AM, Damien Sorresso wrote:
Simple question, probably not a simple answer. :)
Is there any way I can fill a closed NSBezierPath with a texture
instead of a solid color?
Yes, create a NSColor which is a texture.
+ (NSColor*)colorWithPatternImage:(NSImage*)image;
_______________________________________________
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