Packageefnx.gui
Classpublic class TileArea
InheritanceTileArea Inheritance flash.display.Bitmap

TileArea is a Bitmap object that will tile a given bitmapData across it's width and height.



Public Properties
 PropertyDefined by
  bitmapData : BitmapData
The BitmapData object to be tiled.
TileArea
  height : Number
[write-only] Sets the height of the TileArea.
TileArea
  initialized : Boolean
[read-only] Determines whether or not the TileArea is initialized (has bitmapData)
TileArea
  repeat : String
Sets the mode of tiling.
TileArea
  width : Number
[write-only] Sets the width of the TileArea.
TileArea
Public Methods
 MethodDefined by
  
TileArea
  
Clones the TileArea.
TileArea
  
inheritSkin(parent:TileArea):void
Inherits the skin [or bitmapdata] of the parent TileArea.
TileArea
Property detail
bitmapDataproperty
bitmapData:BitmapData  [read-write]

The BitmapData object to be tiled.

Implementation
    public function get bitmapData():BitmapData
    public function set bitmapData(value:BitmapData):void
heightproperty 
height:Number  [write-only]

Sets the height of the TileArea. The height should be a positive integer, if not, it will be converted to one.

Implementation
    public function set height(value:Number):void
initializedproperty 
initialized:Boolean  [read-only]

Determines whether or not the TileArea is initialized (has bitmapData)

Implementation
    public function get initialized():Boolean
repeatproperty 
repeat:String  [read-write]

Sets the mode of tiling. A value of "default" tiles in x and y, "x" tiles in x and "y" tiles in y.

The default value is "default".

Implementation
    public function get repeat():String
    public function set repeat(value:String):void
widthproperty 
width:Number  [write-only]

Sets the width of the TileArea. The width should be a positive integer, if not, it will be converted to one.

Implementation
    public function set width(value:Number):void
Constructor detail
TileArea()constructor
public function TileArea()

Method detail
clone()method
public function clone():TileArea

Clones the TileArea.

Returns
TileArea
inheritSkin()method 
public function inheritSkin(parent:TileArea):void

Inherits the skin [or bitmapdata] of the parent TileArea. This is much like the clone function, but instead of creating a new TileArea instance and returning it, it populates the calling TileArea instance with the bitmapdata of the TileArea passed in the parameters.

Parameters
parent:TileArea — The parent TileArea to inherit from.