| Package | graphics |
| Class | public class FillBitmapStyle |
| Inheritance | FillBitmapStyle Object |
| Implements | IFillStyle |
| Property | Defined By | ||
|---|---|---|---|
| bitmap : BitmapData
A transparent or opaque bitmap image that contains the bits to be displayed. | FillBitmapStyle | ||
| matrix : Matrix
A matrix object (of the flash.geom.Matrix class), which you can use to define transformations on the bitmap. | FillBitmapStyle | ||
| repeat : Boolean
If true, the bitmap image repeats in a tiled pattern. | FillBitmapStyle | ||
| smooth : Boolean
If false, upscaled bitmap images are rendered by using a nearest-neighbor algorithm and look pixelated. | FillBitmapStyle | ||
| Method | Defined By | ||
|---|---|---|---|
FillBitmapStyle(bitmap:BitmapData = null, matrix:Matrix = null, repeat:Boolean = true, smooth:Boolean = false)
Creates a new FillBitmapStyle instance. | FillBitmapStyle | ||
apply(graphic:Graphics):void
Initialize and launch the beginBitmapFill method of the specified Graphics reference. | FillBitmapStyle | ||
clone():*
Creates and returns a shallow copy of the object. | FillBitmapStyle | ||
equals(o:*):Boolean
Compares the specified object with this object for equality. | FillBitmapStyle | ||
toSource(indent:int = 0):String
Returns the source code string representation of the object. | FillBitmapStyle | ||
| bitmap | property |
public var bitmap:BitmapDataA transparent or opaque bitmap image that contains the bits to be displayed.
| matrix | property |
public var matrix:MatrixA matrix object (of the flash.geom.Matrix class), which you can use to define transformations on the bitmap.
| repeat | property |
public var repeat:BooleanIf true, the bitmap image repeats in a tiled pattern. If false, the bitmap image does not repeat, and the edges of the bitmap are used for any fill area that extends beyond the bitmap.
| smooth | property |
public var smooth:BooleanIf false, upscaled bitmap images are rendered by using a nearest-neighbor algorithm and look pixelated. If true, upscaled bitmap images are rendered by using a bilinear algorithm. Rendering by using the nearest neighbor algorithm is usually faster.
| FillBitmapStyle | () | Constructor |
public function FillBitmapStyle(bitmap:BitmapData = null, matrix:Matrix = null, repeat:Boolean = true, smooth:Boolean = false)Creates a new FillBitmapStyle instance.
Parametersbitmap:BitmapData (default = null) — A transparent or opaque bitmap image that contains the bits to be displayed.
| |
matrix:Matrix (default = null) — A matrix object (of the flash.geom.Matrix class), which you can use to define transformations on the bitmap.
| |
repeat:Boolean (default = true) — If true, the bitmap image repeats in a tiled pattern. If false, the bitmap image does not repeat, and the edges of the bitmap are used for any fill area that extends beyond the bitmap.
| |
smooth:Boolean (default = false) — If false, upscaled bitmap images are rendered by using a nearest-neighbor algorithm and look pixelated. If true, upscaled bitmap images are rendered by using a bilinear algorithm. Rendering by using the nearest neighbor algorithm is usually faster.
|
| apply | () | method |
public function apply(graphic:Graphics):voidInitialize and launch the beginBitmapFill method of the specified Graphics reference.
Parameters
graphic:Graphics |
| clone | () | method |
public function clone():*Creates and returns a shallow copy of the object.
Returns* — A new object that is a shallow copy of this instance.
|
| equals | () | method |
public function equals(o:*):BooleanCompares the specified object with this object for equality.
Parameters
o:* |
Boolean — true if the the specified object is equal with this object.
|
| toSource | () | method |
public function toSource(indent:int = 0):StringReturns the source code string representation of the object. This method is not complete we can't serialize a BitmapData object, in the constructor of the source representation this value is always "null".
Parameters
indent:int (default = 0) |
String — the source code string representation of the object.
|