WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
@mozilla.org/image/container;1?type=image/gif
This component implements the following interfaces:
Constants
Properties
PRUint16 imgIContainer.animationMode
readonly gfxIImageFrame imgIContainer.currentFrame
Get the current frame that would be drawn if the image was to be drawn now
readonly PRInt32 imgIContainer.height
The height of the container rectangle.
PRInt32 imgIContainer.loopCount
Number of times to loop the image.
readonly PRUint32 imgIContainer.numFrames
readonly gfx_format imgIContainer.preferredAlphaChannelFormat
readonly PRInt32 imgIContainer.width
The width of the container rectangle.
Methods
| Interface | Method |
|---|---|
| imgIContainer |
[noscript] void addRestoreData ( arrayof char data , PRUint32 count )
|
| imgIContainer |
void appendFrame ( gfxIImageFrame item )
|
| imgIContainer |
void clear ( )
|
| imgIContainer |
void decodingComplete ( )
|
| imgIContainer |
void endFrameDecode ( PRUint32 framenumber , PRUint32 timeout )
|
| imgIContainer |
gfxIImageFrame getFrameAt ( PRUint32 index )
|
| imgIContainer |
void init ( PRInt32 width , PRInt32 height , imgIContainerObserver observer )
|
| nsITimerCallback |
void notify ( nsITimer timer )
|
| imgIContainer |
void removeFrame ( gfxIImageFrame item )
|
| imgIContainer |
void resetAnimation ( )
|
| imgIContainer |
[noscript] void restoreDataDone ( )
|
| imgIContainer |
[noscript] void setDiscardable ( char* mimeType )
|
| imgIContainer |
void startAnimation ( )
|
| imgIContainer |
void stopAnimation ( )
|
Reference documentation is generated from Mozilla's source.
