Method | Defined By | ||
---|---|---|---|
PngImage($ins:ByteArrayInputStream) | PngImage | ||
getImage(data:ByteArray):ImageElement [static] | PngImage | ||
getInt(ins:ByteArrayInputStream):int [static] | PngImage | ||
getString(ins:ByteArrayInputStream):String [static] | PngImage | ||
getWord(ins:ByteArrayInputStream):int [static] | PngImage |
Method | Defined By | ||
---|---|---|---|
[static] | PngImage | ||
setPixel(image:Bytes, data:Vector.<int>, offset:int, size:int, x:int, y:int, bitDepth:int, bytesPerRow:int):void [static] | PngImage |
Constant | Defined By | ||
---|---|---|---|
cHRM : String = cHRM [static] | PngImage | ||
gAMA : String = gAMA [static] | PngImage | ||
iCCP : String = iCCP [static] | PngImage | ||
IDAT : String = IDAT [static] | PngImage | ||
IEND : String = IEND [static] | PngImage | ||
IHDR : String = IHDR [static] | PngImage | ||
pHYs : String = pHYs [static] | PngImage | ||
PLTE : String = PLTE [static] | PngImage | ||
PNGID : Vector.<int> [static] | PngImage | ||
sRGB : String = sRGB [static] | PngImage | ||
tRNS : String = tRNS [static] | PngImage |
PngImage | () | Constructor |
getImage | () | method |
public static function getImage(data:ByteArray):ImageElement
Parameters
data:ByteArray |
ImageElement |
getInt | () | method |
public static function getInt(ins:ByteArrayInputStream):int
Parameters
ins:ByteArrayInputStream |
int |
getPixel | () | method |
protected static function getPixel(image:Bytes, x:int, y:int, bitDepth:int, bytesPerRow:int):int
Parameters
image:Bytes | |
x:int | |
y:int | |
bitDepth:int | |
bytesPerRow:int |
int |
getString | () | method |
public static function getString(ins:ByteArrayInputStream):String
Parameters
ins:ByteArrayInputStream |
String |
getWord | () | method |
public static function getWord(ins:ByteArrayInputStream):int
Parameters
ins:ByteArrayInputStream |
int |
setPixel | () | method |
protected static function setPixel(image:Bytes, data:Vector.<int>, offset:int, size:int, x:int, y:int, bitDepth:int, bytesPerRow:int):void
Parameters
image:Bytes | |
data:Vector.<int> | |
offset:int | |
size:int | |
x:int | |
y:int | |
bitDepth:int | |
bytesPerRow:int |
cHRM | Constant |
public static const cHRM:String = cHRM
gAMA | Constant |
public static const gAMA:String = gAMA
iCCP | Constant |
public static const iCCP:String = iCCP
IDAT | Constant |
public static const IDAT:String = IDAT
IEND | Constant |
public static const IEND:String = IEND
IHDR | Constant |
public static const IHDR:String = IHDR
pHYs | Constant |
public static const pHYs:String = pHYs
PLTE | Constant |
public static const PLTE:String = PLTE
PNGID | Constant |
public static const PNGID:Vector.<int>
sRGB | Constant |
public static const sRGB:String = sRGB
tRNS | Constant |
public static const tRNS:String = tRNS