• 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
CAGradientLayer with horizontal gradient
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CAGradientLayer with horizontal gradient


  • Subject: CAGradientLayer with horizontal gradient
  • From: MB <email@hidden>
  • Date: Thu, 1 Jul 2010 10:09:32 +0200

When you create a CAGradientLayer, the gradient is vertical. How can you get the gradient to go horizontal? I've tried using startPoint and endPoint, but that doesn't seem to do the trick.

MB

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: CAGradientLayer with horizontal gradient
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: CALayer-hosting view and child NSView's
  • Next by Date: Re: NSString ambiguities
  • Previous by thread: Re: How to retrieve a vCard during an ISyncSession?
  • Next by thread: Re: CAGradientLayer with horizontal gradient
  • Index(es):
    • Date
    • Thread