gfxIImageFrame interface All x, y, width, height values are in pixels. @author Tim Rowley <tor@cs.brown.edu> @author Stuart Parmenter <pavlov@netscape.com> @version 0.1
[scriptable, uuid(9c37930b-cadd-453c-89e1-9ed456715b9c)]
Attributes
The image data format the image was created with. @see gfxIFormats
returns the number of bytes allocated for the image
TRUE by default. When set to FALSE, you will no longer be able to make any modifications to the data of the image. Any attempts will fail.
returns whether the image requires the background to be painted
Represents the number of milliseconds until the next frame should be displayed. @note -1 means that this frame should be displayed forever.
Methods
Get Palette data pointer
The rectangle this frame ocupies. @param rect this is really an out parameter.
Create a new \a aWidth x \a aHeight sized image. @param aX The x-offset from the origin of the gfxIImageContainer parent. @param aY The y-offset from the origin of the gfxIImageContainer parent. @param aWidth The width of the image to create. @param aHeight The height of the image to create. @param aFormat the width of the image to create. @note The data in a new image is uninitialized.
Compare to:
