GODPAPER | All Packages | All Classes | Index | Frames No Frames |
AtfData

Package | starling.textures
Class | public class AtfData
Inheritance | AtfData Object

A parser for the ATF data format.

Public Properties

| Property | Defined By
--- | --- | ---
|  | data : ByteArray [read-only] | AtfData
|  | format : String [read-only] | AtfData
|  | height : int [read-only] | AtfData
|  | numTextures : int [read-only] | AtfData
|  | width : int [read-only] | AtfData

Public Methods

| Method | Defined By
--- | --- | ---
|  | AtfData(data:ByteArray) Create a new instance by parsing the given byte array. | AtfData
|  | isAtfData(data:ByteArray):Boolean [static] | AtfData

Property Detail

data | property

`data:ByteArray` [read-only]

Implementation
`public function get data():ByteArray`

format | property |

`format:String` [read-only]

Implementation
`public function get format():String`

height | property |

`height:int` [read-only]

Implementation
`public function get height():int`

numTextures | property |

`numTextures:int` [read-only]

Implementation
`public function get numTextures():int`

width | property |

`width:int` [read-only]

Implementation
`public function get width():int`
Constructor Detail

AtfData | () | Constructor

`public function AtfData(data:ByteArray)`

Create a new instance by parsing the given byte array.

Parameters

| `data:ByteArray`

Method Detail

isAtfData | () | method

`public static function isAtfData(data:ByteArray):Boolean`

Parameters

| `data:ByteArray`

Returns

| `Boolean`

Thu Jan 16 2014, 01:11 PM +08:00