Re: CAGradientLayer with horizontal gradient
Re: CAGradientLayer with horizontal gradient
- Subject: Re: CAGradientLayer with horizontal gradient
- From: Kyle Sluder <email@hidden>
- Date: Thu, 1 Jul 2010 07:41:10 -0700
On Jul 1, 2010, at 1:09 AM, MB <email@hidden> wrote:
> 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.
But that's indeed how you do it. Care to post your code?
--Kyle Sluder_______________________________________________
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