| Property | Defined by | ||
|---|---|---|---|
| bitmapData : BitmapData [read-only] Graphic content of the texture.
| Texture | ||
| height : uint [read-only] Height of the texture.
| Texture | ||
| name : String [read-only] Name of the texture.
| Texture | ||
| width : uint [read-only] Width of the texture.
| Texture | ||
| Method | Defined by | ||
|---|---|---|---|
|
Texture(bitmapData:BitmapData, name:String = null)
Create class instance.
| Texture | ||
|
toString():String
Get string representation of object.
| Texture | ||
| bitmapData | property |
bitmapData:BitmapData [read-only]Graphic content of the texture.
Implementation public function get bitmapData():BitmapData
| height | property |
height:uint [read-only]Height of the texture.
Implementation public function get height():uint
| name | property |
name:String [read-only]Name of the texture.
Implementation public function get name():String
| width | property |
width:uint [read-only]Width of the texture.
Implementation public function get width():uint
| Texture | () | constructor |
public function Texture(bitmapData:BitmapData, name:String = null)Create class instance.
ParametersbitmapData:BitmapData — graphic texture content |
|
name:String (default = null) — texture name |
| toString | () | method |
public function toString():StringGet string representation of object.
ReturnsString — string object representation |