| Property | Defined By | ||
|---|---|---|---|
| disposeValue : int [read-only] | GIFDecoder | ||
| Method | Defined By | ||
|---|---|---|---|
| GIFDecoder | |||
getDelay(n:int):int
Gets display duration for specified frame. | GIFDecoder | ||
Gets the image contents of frame n. | GIFDecoder | ||
getFrameCount():int
Gets the number of frames read from file. | GIFDecoder | ||
getFrameSize():Rectangle
Gets image size. | GIFDecoder | ||
Gets the first (or only) image read. | GIFDecoder | ||
getLoopCount():int
Gets the "Netscape" iteration count, if any. | GIFDecoder | ||
read(inStream:ByteArray):int
Reads GIF image from stream
| GIFDecoder | ||
| disposeValue | property |
disposeValue:int [read-only] public function get disposeValue():int| GIFDecoder | () | Constructor |
public function GIFDecoder()| getDelay | () | method |
public function getDelay(n:int):intGets display duration for specified frame.
Parameters
n:int — int index of frame
|
int — delay in milliseconds
|
| getFrame | () | method |
public function getFrame(n:int):GIFFrameGets the image contents of frame n.
Parameters
n:int |
GIFFrame — BufferedImage representation of frame, or null if n is invalid.
|
| getFrameCount | () | method |
public function getFrameCount():intGets the number of frames read from file.
Returnsint — frame count
|
| getFrameSize | () | method |
public function getFrameSize():RectangleGets image size.
ReturnsRectangle — GIF image dimensions
|
| getImage | () | method |
public function getImage():GIFFrameGets the first (or only) image read.
ReturnsGIFFrame — BitmapData containing first frame, or null if none.
|
| getLoopCount | () | method |
public function getLoopCount():intGets the "Netscape" iteration count, if any. A count of 0 means repeat indefinitiely.
Returnsint — iteration count if one was specified, else 1.
|
| read | () | method |
public function read(inStream:ByteArray):intReads GIF image from stream
Parameters
inStream:ByteArray — containing GIF file.
|
int — read status code (0 = no errors)
|