Property | Defined By | ||
---|---|---|---|
framesCount : int [read-only] | GifImage |
Property | Defined By | ||
---|---|---|---|
bgColor : int | GifImage | ||
bgIndex : int | GifImage | ||
block : Bytes | GifImage | ||
blockSize : int = 0 | GifImage | ||
delay : int = 0 | GifImage | ||
dispose : int = 0 | GifImage | ||
frames : Vector.<GifFrame> | GifImage | ||
fromData : ByteArray | GifImage | ||
fromUrl : String | GifImage | ||
gctFlag : Boolean | GifImage | ||
height : int | GifImage | ||
input : DataInputStream | GifImage | ||
interlace : Boolean | GifImage | ||
ix : int | GifImage | ||
lctFlag : Boolean | GifImage | ||
lctSize : int | GifImage | ||
m_bpc : int | GifImage | ||
m_curr_table : Bytes | GifImage | ||
m_gbpc : int | GifImage | ||
m_global_table : Bytes | GifImage | ||
m_line_stride : int | GifImage | ||
m_local_table : Bytes | GifImage | ||
m_out : ByteArray | GifImage | ||
pixelAspect : int | GifImage | ||
pixels : Bytes | GifImage | ||
pixelStack : Bytes | GifImage | ||
prefix : Vector.<int> | GifImage | ||
suffix : Bytes | GifImage | ||
transIndex : int | GifImage | ||
transparency : Boolean = false | GifImage | ||
width : int | GifImage |
Method | Defined By | ||
---|---|---|---|
GifImage(data:ByteArray) | GifImage | ||
getImage(frame:int = 1):ImageElement
Gets the image from a frame. | GifImage |
Method | Defined By | ||
---|---|---|---|
decodeImageData():Boolean | GifImage | ||
readBlock():int | GifImage | ||
readColorTable(bpc:int):Bytes | GifImage | ||
readContents():void | GifImage | ||
readGraphicControlExt():void | GifImage | ||
readHeader():void | GifImage | ||
readImage():void | GifImage | ||
readLSD():void | GifImage | ||
readShort():int | GifImage | ||
setPixel(x:int, y:int, v:int):void | GifImage | ||
skip():void | GifImage |
Constant | Defined By | ||
---|---|---|---|
MaxStackSize : int = 4096 [static] | GifImage | ||
SHORT_MASK : int = 0x7fff [static] | GifImage |
bgColor | property |
protected var bgColor:int
bgIndex | property |
protected var bgIndex:int
block | property |
protected var block:Bytes
blockSize | property |
protected var blockSize:int = 0
delay | property |
protected var delay:int = 0
dispose | property |
protected var dispose:int = 0
frames | property |
protected var frames:Vector.<GifFrame>
framesCount | property |
framesCount:int
[read-only] public function get framesCount():int
fromData | property |
protected var fromData:ByteArray
fromUrl | property |
protected var fromUrl:String
gctFlag | property |
protected var gctFlag:Boolean
height | property |
protected var height:int
input | property |
protected var input:DataInputStream
interlace | property |
protected var interlace:Boolean
ix | property |
protected var ix:int
lctFlag | property |
protected var lctFlag:Boolean
lctSize | property |
protected var lctSize:int
m_bpc | property |
protected var m_bpc:int
m_curr_table | property |
protected var m_curr_table:Bytes
m_gbpc | property |
protected var m_gbpc:int
m_global_table | property |
protected var m_global_table:Bytes
m_line_stride | property |
protected var m_line_stride:int
m_local_table | property |
protected var m_local_table:Bytes
m_out | property |
protected var m_out:ByteArray
pixelAspect | property |
protected var pixelAspect:int
pixels | property |
protected var pixels:Bytes
pixelStack | property |
protected var pixelStack:Bytes
prefix | property |
protected var prefix:Vector.<int>
suffix | property |
protected var suffix:Bytes
transIndex | property |
protected var transIndex:int
transparency | property |
protected var transparency:Boolean = false
width | property |
protected var width:int
GifImage | () | Constructor |
public function GifImage(data:ByteArray)
data:ByteArray |
decodeImageData | () | method |
protected function decodeImageData():Boolean
ReturnsBoolean |
getImage | () | method |
public function getImage(frame:int = 1):ImageElement
Gets the image from a frame. First frame is 1
Parameters
frame:int (default = 1 )
|
ImageElement — the image
|
readBlock | () | method |
protected function readBlock():int
Returnsint |
readColorTable | () | method |
readContents | () | method |
protected function readContents():void
readGraphicControlExt | () | method |
protected function readGraphicControlExt():void
readHeader | () | method |
protected function readHeader():void
readImage | () | method |
protected function readImage():void
readLSD | () | method |
protected function readLSD():void
readShort | () | method |
protected function readShort():int
Returnsint |
setPixel | () | method |
protected function setPixel(x:int, y:int, v:int):void
Parameters
x:int | |
y:int | |
v:int |
skip | () | method |
protected function skip():void
MaxStackSize | Constant |
protected static const MaxStackSize:int = 4096
SHORT_MASK | Constant |
protected static const SHORT_MASK:int = 0x7fff