Re: CGContextShowTextAtPoint doesn't show text
Re: CGContextShowTextAtPoint doesn't show text
- Subject: Re: CGContextShowTextAtPoint doesn't show text
- From: Graham Cox <email@hidden>
- Date: Wed, 10 Aug 2011 00:53:51 +1000
On 10/08/2011, at 12:48 AM, Gabriel Zachmann wrote:
> Could you please point me to a few of them?
NSString, NSAttributedString, Core Text
> Can CATextLayer render text with a shadow?
> Like this:
> CGContextSetShadowWithColor( ctxt, CGSizeMake(0,0), 10, blue );
>
> I really need the shadow to be able to discern it from a background layer, the color of which is unknown and changes fairly often.
Yes. It inherits from CALayer, so it has all of its properties, including all the shadow properties.
--Graham_______________________________________________
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