• 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
Re: Box soft shadow?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Box soft shadow? (From: "Eric E. Dolecki" <email@hidden>)

  • Prev by Date: Box soft shadow?
  • Next by Date: Re: Box soft shadow?
  • Previous by thread: Box soft shadow?
  • Next by thread: Re: Box soft shadow?
  • Index(es):
    • Date
    • Thread