Packagecom.distriqt.extension.webp.loader
Classpublic class WebPData
InheritanceWebPData Inheritance Object



Public Properties
 PropertyDefined By
  data : ByteArray
The data is returned as pixel data usable in ARGB order for AIR/Flash
WebPData
  height : int = 0
The height of the decoded WebP image
WebPData
  width : int = 0
The width of the decoded WebP image
WebPData
Public Methods
 MethodDefined By
  
Constructor
WebPData
  
convertToBitmapData():BitmapData
Utility function to convert this WebPData instance in a BitmapData instance.
WebPData
Property Detail
dataproperty
public var data:ByteArray

The data is returned as pixel data usable in ARGB order for AIR/Flash

heightproperty 
public var height:int = 0

The height of the decoded WebP image

widthproperty 
public var width:int = 0

The width of the decoded WebP image

Constructor Detail
WebPData()Constructor
public function WebPData()

Constructor

Method Detail
convertToBitmapData()method
public function convertToBitmapData():BitmapData

Utility function to convert this WebPData instance in a BitmapData instance.

Returns
BitmapData — A BitmapData representation of the WebP data