• 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
+[NSColor colorWithPatternImage:] - set pattern origin?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

+[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


  • Follow-Ups:
    • Re: +[NSColor colorWithPatternImage:] - set pattern origin?
      • From: glenn andreas <email@hidden>
  • Prev by Date: Re: path name from Apple Event
  • Next by Date: Re: Outline view / Drag-n-drop example, and issues
  • Previous by thread: Re: Subviews use superview's `drawRect' method?
  • Next by thread: Re: +[NSColor colorWithPatternImage:] - set pattern origin?
  • Index(es):
    • Date
    • Thread