![]() |
API 0.9.5
|
#import <CPImage.h>
Instance Methods | |
(id) | - delegate |
(CPString) | - description |
(void) | - encodeWithCoder: |
(CPString) | - filename |
(id) | - init |
(id) | - initByReferencingFile:size: |
(id) | - initWithCoder: |
(id) | - initWithContentsOfFile: |
(id) | - initWithContentsOfFile:size: |
(BOOL) | - isNinePartImage |
(BOOL) | - isThreePartImage |
(void) | - load |
(unsigned) | - loadStatus |
(CPString) | - name |
(void) | - setDelegate: |
(BOOL) | - setName: |
(void) | - setSize: |
(CGSize) | - size |
Class Methods | |
(id) | + imageNamed: |
CPImage is used to represent images in the Cappuccino framework. It supports loading all image types supported by the browser.
-(void)imageDidLoad:(CPImage)image; Called when the specified image has finished loading.
image | the image that loaded |
-(void)imageDidError:(CPImage)image; Called when the specified image had an error loading.
image | the image with the loading error |
-(void)imageDidAbort:(CPImage)image; Called when the image loading was aborted.
image | the image that was aborted |
- (void) encodeWithCoder: | (CPCoder) | aCoder |
- (CPString) filename |
- (id) initByReferencingFile: | (CPString) | aFilename | |
size: | (CGSize) | aSize | |
- (id) initWithCoder: | (CPCoder) | aCoder |
- (id) initWithContentsOfFile: | (CPString) | aFilename |
- (id) initWithContentsOfFile: | (CPString) | aFilename | |
size: | (CGSize) | aSize | |
- (void) load |
- (unsigned) loadStatus |
- (void) setDelegate: | (id) | aDelegate |
- (void) setSize: | (CGSize) | aSize |