+[NSColor colorWithPatternImage:] - set pattern origin?
+[NSColor colorWithPatternImage:] - set pattern origin?
- Subject: +[NSColor colorWithPatternImage:] - set pattern origin?
- From: Jim Correia <email@hidden>
- Date: Tue, 16 Aug 2005 13:48:15 -0400
The documentation says:
+ (NSColor *)colorWithPatternImage:(NSImage *)image
Creates and returns an NSColor that uses the pattern in image. The
returned NSColor is autoreleased. The image is tiled starting at
the bottom of the window. The image is not scaled.
Is there some way to influence the pattern origin (so that it starts
at the origin of my view, for example)? Or must I tile the image myself?
Thanks,
Jim
_______________________________________________
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