| Package | org.aswing |
| Class | public class AssetBackground |
| Implements | GroundDecorator |
The display object will be added to component to be the backgound, and will
be set width and height property to fit the size
of the component.
| Property | Defined by | ||
|---|---|---|---|
| asset : DisplayObject | AssetBackground | ||
| Method | Defined by | ||
|---|---|---|---|
|
AssetBackground(asset:DisplayObject)
| AssetBackground | ||
|
getDisplay(c:Component):DisplayObject
| AssetBackground | ||
| AssetBackground | |||
| asset | property |
protected var asset:DisplayObject
| AssetBackground | () | constructor |
public function AssetBackground(asset:DisplayObject)Parameters
asset:DisplayObject |
| getDisplay | () | method |
| updateDecorator | () | method |
public function updateDecorator(com:Component, g:Graphics2D, bounds:IntRectangle):voidParameters
com:Component |
|
g:Graphics2D |
|
bounds:IntRectangle |