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

Package | com.emibap.textureAtlas
Class | public class TextureItem
Inheritance | TextureItem flash.display.Sprite

Public Properties

| Property | Defined By
--- | --- | ---
|  | frameHeight : int [read-only] | TextureItem
|  | frameName : String [read-only] | TextureItem
|  | frameWidth : int [read-only] | TextureItem
|  | frameX : int [read-only] | TextureItem
|  | frameY : int [read-only] | TextureItem
|  | graphic : BitmapData [read-only] | TextureItem
|  | textureName : String [read-only] | TextureItem

Public Methods

| Method | Defined By
--- | --- | ---
|  | TextureItem(graphic:BitmapData, textureName:String, frameName:String, frameX:int = 0, frameY:int = 0, frameWidth:int = 0, frameHeight:int = 0) | TextureItem

Property Detail

frameHeight | property

`frameHeight:int` [read-only]

Implementation
`public function get frameHeight():int`

frameName | property |

`frameName:String` [read-only]

Implementation
`public function get frameName():String`

frameWidth | property |

`frameWidth:int` [read-only]

Implementation
`public function get frameWidth():int`

frameX | property |

`frameX:int` [read-only]

Implementation
`public function get frameX():int`

frameY | property |

`frameY:int` [read-only]

Implementation
`public function get frameY():int`

graphic | property |

`graphic:BitmapData` [read-only]

Implementation
`public function get graphic():BitmapData`

textureName | property |

`textureName:String` [read-only]

Implementation
`public function get textureName():String`
Constructor Detail

TextureItem | () | Constructor

`public function TextureItem(graphic:BitmapData, textureName:String, frameName:String, frameX:int = 0, frameY:int = 0, frameWidth:int = 0, frameHeight:int = 0)`

Parameters

| `graphic:BitmapData`
| `textureName:String`
| `frameName:String`
| `frameX:int` (default = `0`)``
| `frameY:int` (default = `0`)``
| `frameWidth:int` (default = `0`)``
| `frameHeight:int` (default = `0`)``

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