\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 In subclasses that respond to \b imageFileTypes\b0 and \b imageRepWithData:\b0 , returns an object that has been initialized with the data in \i filename\i0 . NSImageRep\'27s implementation returns an instance of the appropriate registered subclass.\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 In subclasses that respond to \b imagePasteboardTypes\b0 and \b imageRepWithData:\b0 , returns an object that has been initialized with the data in \i pasteboard\i0 . NSImageRep\'27s implementation returns an instance of the appropriate registered subclass.\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 In subclasses that respond to \b imageFileTypes\b0 and \b imageRepWithData:\b0 (or \b imageRepWithData:\b0 ), returns an array of objects that have been initialized with the data in \i filename\i0 . NSImageRep\'27s implementation returns an array of objects (each an instance of the appropriate registered subclass) that have been initialized with the data in \i filename\i0 .\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 In subclasses that respond to \b imagePasteboardTypes\b0 and \b imageRepsWithData:\b0 (or \b imageRepWithData:\b0 ), returns an array of objects that have been initialized with the data in \i pasteboard\i0 . NSImageRep\'27s implementation returns an array of objects (each an instance of the appropriate registered subclass) that have been initialized with the data in \i pasteboard\i0 .\
\pard \s8 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \
\
\
\fs28 Checking data types \
\fs16 \
\fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 + (BOOL)\b canInitWithData:\b0 (NSData *)\i data\i0 Overridden in subclasses to return YES if the receiver can initialize itself from \i data\i0 .\
\fs28 Specifying Information about the Representation \
\fs16 \
\fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (int)\b bitsPerSample\b0 Returns the number of bits per pixel in each component.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (NSString *)\b colorSpaceName\b0 Returns the name of the image\'27s color space.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (BOOL)\b hasAlpha\b0 Returns whether there is a coverage component.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (BOOL)\b isOpaque\b0 Returns whether the representation is opaque.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (int)\b pixelsHigh\b0 Returns the height specified in the image data.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (int)\b pixelsWide\b0 Returns the width specified in the image data.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setAlpha:\b0 (BOOL)\i flag\i0 Informs the receiver whether there is a coverage component.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setBitsPerSample:\b0 (int)\i anInt\i0 Informs the receiver there are \i anInt\i0 bits/pixel in a component.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setColorSpaceName:\b0 (NSString *)\i aString\i0 Informs the receiver of the image\'27s color space.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setOpaque:\b0 (BOOL)\i flag\i0 Informs the receiver of the image\'27s opacity.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setPixelsHigh:\b0 (int)\i anInt\i0 Informs the receiver that its data is for an image \i anInt\i0 pixels high.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setPixelsWide:\b0 (int)\i anInt\i0 Informs the receiver that its data is for an image \i anInt\i0 pixels wide.\
\fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (BOOL)\b draw\b0 Implemented by subclasses to draw the image.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (BOOL)\b drawAtPoint:\b0 (NSPoint)\i aPoint\i0 Modifies current coordinates so the image is drawn at \i aPoint\i0 .\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (BOOL)\b drawInRect:\b0 (NSRect)\i aRect\i0 Modifies current coordinates so the image is drawn in \i aRect\i0 .\