Package | mx.graphics |
Class | public class BitmapFill |
Inheritance | BitmapFill ![]() |
Implements | IFill |
See also
Property | Defined By | ||
---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
offsetX : Number = 0
How far the bitmap is horizontally offset from the origin. | BitmapFill | ||
offsetY : Number = 0
How far the bitmap is vertically offset from the origin. | BitmapFill | ||
originX : Number = 0
The horizontal origin for the bitmap fill. | BitmapFill | ||
originY : Number = 0
The vertical origin for the bitmap fill. | BitmapFill | ||
![]() | prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | |
repeat : Boolean = true
Whether the bitmap is repeated to fill the area. | BitmapFill | ||
rotation : Number = 0.0
The number of degrees to rotate the bitmap. | BitmapFill | ||
scaleX : Number = 1.0
The percent to horizontally scale the bitmap when filling,
from 0.0 to 1.0. | BitmapFill | ||
scaleY : Number = 1.0
The percent to vertically scale the bitmap when filling,
from 0.0 to 1.0. | BitmapFill | ||
smooth : Boolean = false
A flag indicating whether to smooth the bitmap data
when filling with it. | BitmapFill | ||
source : Object
The source used for the bitmap fill. | BitmapFill |
Method | Defined By | ||
---|---|---|---|
Constructor. | BitmapFill | ||
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object |
offsetX | property |
public var offsetX:Number = 0
How far the bitmap is horizontally offset from the origin. This adjustment is performed after rotation and scaling.
The default value is 0.
offsetY | property |
public var offsetY:Number = 0
How far the bitmap is vertically offset from the origin. This adjustment is performed after rotation and scaling.
The default value is 0.
originX | property |
public var originX:Number = 0
The horizontal origin for the bitmap fill. The bitmap fill is offset so that this point appears at the origin. Scaling and rotation of the bitmap are performed around this point.
The default value is 0.
originY | property |
public var originY:Number = 0
The vertical origin for the bitmap fill. The bitmap fill is offset so that this point appears at the origin. Scaling and rotation of the bitmap are performed around this point.
The default value is 0.
repeat | property |
public var repeat:Boolean = true
Whether the bitmap is repeated to fill the area.
Set to true
to cause the fill to tile outward
to the edges of the filled region.
Set to false
to end the fill at the edge of the region.
The default value is true.
rotation | property |
public var rotation:Number = 0.0
The number of degrees to rotate the bitmap. Valid values range from 0.0 to 360.0.
The default value is 0.
scaleX | property |
public var scaleX:Number = 1.0
The percent to horizontally scale the bitmap when filling, from 0.0 to 1.0. If 1.0, the bitmap is filled at its natural size.
The default value is 1.0.
scaleY | property |
public var scaleY:Number = 1.0
The percent to vertically scale the bitmap when filling, from 0.0 to 1.0. If 1.0, the bitmap is filled at its natural size.
The default value is 1.0.
smooth | property |
public var smooth:Boolean = false
A flag indicating whether to smooth the bitmap data when filling with it.
The default value is false.
source | property |
source:Object
The source used for the bitmap fill. The fill can render from various graphical sources, including the following:
The default value is null.
public function get source():Object
public function set source(value:Object):void
BitmapFill | () | Constructor |
public function BitmapFill()
Constructor.