TileBar is a bar that tiles in x or y.
bottom:BitmapData [read-write]Implementation
public function get bottom():BitmapData
public function set bottom(value:BitmapData):void
direction:String [read-write]
Implementation
public function get direction():String
public function set direction(value:String):void
height:Number [write-only]
Implementation
public function set height(value:Number):void
initialized:Boolean [read-only]
Returns whether or not the TileBar is initialized and
contains references to bitmapData.
Implementation
public function get initialized():Boolean
left:BitmapData [read-write]Implementation
public function get left():BitmapData
public function set left(value:BitmapData):void
middle:BitmapData [read-write]Implementation
public function get middle():BitmapData
public function set middle(value:BitmapData):void
right:BitmapData [read-write]Implementation
public function get right():BitmapData
public function set right(value:BitmapData):void
public static var testing:Boolean = false
Sets verbose output.
top:BitmapData [read-write]Implementation
public function get top():BitmapData
public function set top(value:BitmapData):void
width:Number [write-only]
Implementation
public function set width(value:Number):void
public function TileBar(_left:BitmapData = null, _middle:BitmapData = null, _right:BitmapData = null)
Parameters
| _left:BitmapData (default = null) |
| |
| _middle:BitmapData (default = null) |
| |
| _right:BitmapData (default = null) |
public function chopAndUse(bmd:BitmapData, _left:int, _middle:int = 0, _right:int = 0):void
Chops one BitmapData object into three chunks and uses each as left, middle and right
or top, middle and bottom.
Parameters
| bmd:BitmapData — The BitmapData object to use.
|
| |
| _left:int — The width of the left chunk. AKA - The amount to chop off bmd to
make the left or top BitmapData object.
|
| |
| _middle:int (default = 0) — The width of the middle chunk. AKA - The amount to chop off bmd to
make the middle BitmapData object.
|
| |
| _right:int (default = 0) — The width of the right chunk. AKA - The amount to chop off bmd to
make the right or bottom BitmapData object.
If _middle and _right are omitted, bmd will be chopped according
to _left.
|
public function clone():TileBar
Clones the TileBar.
Returns
public function inheritSkin(parent:TileBar):void
Inherits the skin [or bitmapdata] of the parent TileBar.
This is much like the clone function, but instead of
creating a new TileBar instance and returning it, it populates the
calling TileBar instance with the bitmapdata of the TileBar
passed in the parameters.
Parameters
| parent:TileBar — The parent TileBar to inherit from.
|