| Package | pegas.draw |
| Class | public final class FillBitmapStyle |
| Inheritance | FillBitmapStyle CoreObject |
| 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, matrix:Matrix = null, repeat:Boolean = true, smooth:Boolean = false)
Creates a new FillBitmapStyle instance.
| FillBitmapStyle | ||
![]() |
Returns the internal
ILogger reference of this ILogable object. | CoreObject | |
![]() |
hashCode():uint
Returns a hashcode value for the object.
| CoreObject | |
|
init(graphic:Graphics):void
Initialize and launch the beginBitmapFill method of the specified Graphics reference.
| FillBitmapStyle | ||
![]() |
Sets the internal
ILogger reference of this ILogable object. | CoreObject | |
![]() |
toSource(indent:int = 0):String
Returns the string representation the source code of the object.
| CoreObject | |
![]() |
toString():String
Returns the string representation of this instance.
| CoreObject | |
| 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, matrix:Matrix = null, repeat:Boolean = true, smooth:Boolean = false)Creates a new FillBitmapStyle instance.
Parametersbitmap:BitmapData — 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) — A value from the InterpolationMethod class that specifies which value to use: InterpolationMethod.linearRGB or InterpolationMethod.RGB.
|
| init | () | method |
public function init(graphic:Graphics):voidInitialize and launch the beginBitmapFill method of the specified Graphics reference.
Parametersgraphic:Graphics |