Re: Box soft shadow?
Re: Box soft shadow?
- Subject: Re: Box soft shadow?
- From: glenn andreas <email@hidden>
- Date: Mon, 23 Aug 2010 09:23:45 -0500
On Aug 23, 2010, at 9:02 AM, Eric E. Dolecki wrote:
> I was asked to provide a soft drop shadow for a custom UIView class... and
> basically I am looking to create a soft shadow beneath a square opaque
> element. I'd like to do this without using a PNG. How would I do this? I am
> googling, and found something for text, but not just for a simple square
> shape.
Draw with CGContextShadow set appropriately, or set the shadow property of the CALayer of the UIView (if you are requiring iOS 3.2 or later)
Glenn Andreas email@hidden
The most merciful thing in the world ... is the inability of the human mind to correlate all its contents - HPL
_______________________________________________
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