NSForegroundColorAttributeName + NSStrokeWidthAttributeName
NSForegroundColorAttributeName + NSStrokeWidthAttributeName
- Subject: NSForegroundColorAttributeName + NSStrokeWidthAttributeName
- From: Lorenzo <email@hidden>
- Date: Wed, 06 Jun 2007 01:52:01 +0200
Hi,
when I set the NSStrokeWidthAttributeName to my string, I lose the
NSForegroundColorAttributeName attribute. So I see a transparent string with
a white stroke line. Strangely instead, the NSBackgroundColorAttributeName
works well. Do I forget something?
[aStr addAttribute:NSForegroundColorAttributeName value:red range:r];
[aStr addAttribute:NSStrokeWidthAttributeName value:num3 range:r];
[aStr addAttribute:NSStrokeColorAttributeName value:white range:r];
[aStr addAttribute:NSBackgroundColorAttributeName value:blue range:r];
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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