Re: Stroking a CATextLayer
Re: Stroking a CATextLayer
- Subject: Re: Stroking a CATextLayer
- From: Benjamin Dobson <email@hidden>
- Date: Tue, 3 Feb 2009 15:43:53 +0000
On 3 Feb 2009, at 15:05:51, glenn andreas wrote:
On Feb 3, 2009, at 8:50 AM, Benjamin Dobson wrote:
Has anyone managed this, short of creating a separate layer for the
stroke? The Google machine doesn't seem to provide any answers.
Since CATextLayer uses an attributed string, why can't you just set
the attributes to have the text stroked (set the
NSStrokeColorAttributeName appropriately, and then use a negative
value for the NSStrokeWidthAttributeName to indicate that the text
should be both stroked and filled).
That is what I would expect; however, the layer does not stroke the
text.
_______________________________________________
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