Re: Where can I find a list with ALL available attributes which can be used with (NSString's) drawInRect: withAttributes
Re: Where can I find a list with ALL available attributes which can be used with (NSString's) drawInRect: withAttributes
- Subject: Re: Where can I find a list with ALL available attributes which can be used with (NSString's) drawInRect: withAttributes
- From: Andy Lee <email@hidden>
- Date: Tue, 25 Jun 2002 04:31:09 -0400
At 10:15 AM +0200 6/25/02, Cristian Savu wrote:
Hello list,
The subject tell what I need. I need for example, to specify to the
NSString not to draw outside of his rectangle and I assume there is an
attribute for this.
Assuming the attribute set is the same as for NSAttributedString, you
could look in
<file:///OSX/Developer/Documentation/Cocoa/TasksAndConcepts/ProgrammingTopics/AttributedStrings/Tasks/AccessingAttrs.html>.
Unfortunately, I don't see an attribute name there corresponding to
your example.
The general topic of attributed strings is covered in
<file:///OSX/Developer/Documentation/Cocoa/TasksAndConcepts/ProgrammingTopics/AttributedStrings/index.html>
(from which the "Accessing Attributes" link leads to the previously
mentioned page).
--Andy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.