Package | com.catalystapps.gaf.display |
Class | public class GAFImage |
Inheritance | GAFImage ![]() |
Implements | com.catalystapps.gaf.display.IGAFImage, com.catalystapps.gaf.display.IMaxSize, com.catalystapps.gaf.display.IGAFDebug |
GAFMovieClip
.
Property | Defined By | ||
---|---|---|---|
assetTexture : IGAFTexture [read-only]
Returns current IGAFTexture. | GAFImage |
Method | Defined By | ||
---|---|---|---|
GAFImage(assetTexture:IGAFTexture)
Creates a new GAFImage instance. | GAFImage | ||
changeTexture(newTexture:IGAFTexture):void
Change the texture of the GAFImage to a new one. | GAFImage | ||
Creates a new instance of GAFImage. | GAFImage | ||
dispose():void [override]
Disposes all resources of the display object. | GAFImage | ||
getBounds(targetSpace:DisplayObject, resultRect:Rectangle = null):Rectangle [override] | GAFImage |
assetTexture | property |
assetTexture:IGAFTexture
[read-only]
Returns current IGAFTexture
.
public function get assetTexture():IGAFTexture
GAFImage | () | Constructor |
public function GAFImage(assetTexture:IGAFTexture)
Creates a new GAFImage
instance.
assetTexture:IGAFTexture — IGAFTexture from which it will be created.
|
changeTexture | () | method |
public function changeTexture(newTexture:IGAFTexture):void
Change the texture of the GAFImage
to a new one.
Parameters
newTexture:IGAFTexture — the new IGAFTexture which will be used to replace existing one.
|
copy | () | method |
dispose | () | method |
override public function dispose():void
Disposes all resources of the display object.
getBounds | () | method |
override public function getBounds(targetSpace:DisplayObject, resultRect:Rectangle = null):Rectangle
Parameters
targetSpace:DisplayObject | |
resultRect:Rectangle (default = null )
|
Rectangle |