![]() |
API
0.9.7
|
#import <CPImage.h>
Instance Methods | |
(CPData) | - data |
(id) | - delegate |
(CPString) | - description |
(void) | - encodeWithCoder: |
(CPString) | - filename |
(Image) | - image |
(id) | - init |
(id) | - initByReferencingFile:size: |
(id) | - initWithCoder: |
(id) | - initWithContentsOfFile: |
(id) | - initWithContentsOfFile:size: |
(id) | - initWithData: |
(BOOL) | - isNinePartImage |
(BOOL) | - isSingleImage |
(BOOL) | - isThreePartImage |
(void) | - load |
(unsigned) | - loadStatus |
(CPString) | - name |
(void) | - setDelegate: |
(BOOL) | - setName: |
(void) | - setSize: |
(CGSize) | - size |
Class Methods | |
(CPImage) | + cachedImageWithContentsOfFile: |
(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 |
Provided by category CPImage(CachedImage).
Definition at line 579 of file CPImageView.j.
|
implementation |
|
implementation |
|
implementation |
Writes the image data from memory into the coder.
aCoder | the coder to which the data will be written |
Provided by category CPImage(CPCoding).
|
implementation |
|
implementation |
|
implementation |
|
implementation |
Initializes the image with data from a coder.
aCoder | the coder from which to read the image data |
Provided by category CPImage(CPCoding).
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |