O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

NSMutableParagraphStyle — Mac OS X 10.0

Synopsis

This class extends the interface of NSParagraphStyle to allow for the characteristics of a paragraph style object to be altered after the object is initialized. See the NSParagraphStyle class description later in this chapter for more information.

image with no caption

@interface NSMutableParagraphStyle : NSParagraphStyle
                                  // Accessor Methods
   - (void)setLineBreakMode:(NSLineBreakMode)mode;
   - (void)setParagraphSpacing:(float)aFloat;
   - (void)setAlignment:(NSTextAlignment)alignment;
   - (void)setBaseWritingDirection:(NSWritingDirection)writingDirection;
   - (void)setHeadIndent:(float)aFloat;
   - (void)setTailIndent:(float)aFloat;
   - (void)setParagraphStyle:(NSParagraphStyle *)obj;
   - (void)setLineSpacing:(float)aFloat;
   - (void)setMaximumLineHeight:(float)aFloat;
   - (void)setTabStops:(NSArray *)array;
   - (void)setMinimumLineHeight:(float)aFloat;
   - (void)setFirstLineHeadIndent:(float)aFloat;
                                  // Instance Methods
   - (void)addTabStop:(NSTextTab *)anObject;
   - (void)removeTabStop:(NSTextTab *)anObject;

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required