Name
NSImageCell — Mac OS X 10.0
Synopsis
This cell class is responsible for drawing an image in a frame.
NSImageCell
provides methods that allow clients to
specify the frame style, as well as how images that do not fit in the
cell bounds should be scaled.
|
@interface NSImageCell : NSCell <NSCoding, NSCopying>
|
// Accessor Methods
|
- (void)setImageAlignment:(NSImageAlignment)newAlign; |
- (NSImageAlignment)imageAlignment;
|
- (void)setImageScaling:(NSImageScaling)newScaling; |
- (NSImageScaling)imageScaling;
|
- (void)setImageFrameStyle:(NSImageFrameStyle)newStyle; |
- (NSImageFrameStyle)imageFrameStyle;
|
// Methods Implementing NSCoding
|
- (void)encodeWithCoder:(NSCoder *)aCoder; |
- (id)initWithCoder:(NSCoder *)aDecoder; |
// Methods Implementing NSCopying
|
- (id)copyWithZone:(NSZone *)zone; |
Get Cocoa in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.