| Package | org.aswing.graphics |
| Class | public class BitmapBrush |
| Implements | IBrush |
See also
| Method | Defined by | ||
|---|---|---|---|
|
BitmapBrush(bitmap:BitmapData, matrix:Matrix = null, repeat:Boolean = true, smooth:Boolean = false)
| BitmapBrush | ||
|
beginFill(target:Graphics):void
This method will be called by Graphics2D autumaticlly.
It applys the fill paramters to the instance of flash.display.Graphics | BitmapBrush | ||
|
endFill(target:Graphics):void
This method will be called by Graphics2D autumaticlly.
It marks the end of filling | BitmapBrush | ||
|
getBitmapData():BitmapData
| BitmapBrush | ||
|
getMatrix():Matrix
| BitmapBrush | ||
|
isRepeat():Boolean
| BitmapBrush | ||
|
isSmooth():Boolean
| BitmapBrush | ||
|
setBitmapData(bitmapData:BitmapData):void
| BitmapBrush | ||
|
setMatrix(matrix:Matrix):void
| BitmapBrush | ||
|
setRepeat(repeat:Boolean):void
| BitmapBrush | ||
|
setSmooth(smooth:Boolean):void
| BitmapBrush | ||
| BitmapBrush | () | constructor |
public function BitmapBrush(bitmap:BitmapData, matrix:Matrix = null, repeat:Boolean = true, smooth:Boolean = false)Parameters
bitmap:BitmapData |
|
matrix:Matrix (default = null) |
|
repeat:Boolean (default = true) |
|
smooth:Boolean (default = false) |
| beginFill | () | method |
public function beginFill(target:Graphics):void
This method will be called by Graphics2D autumaticlly.
It applys the fill paramters to the instance of flash.display.Graphics
target:Graphics — the instance of a flash.display.Graphics
|
| endFill | () | method |
public function endFill(target:Graphics):void
This method will be called by Graphics2D autumaticlly.
It marks the end of filling
target:Graphics — the instance of a flash.display.Graphics
|
| getBitmapData | () | method |
public function getBitmapData():BitmapData
Returns
BitmapData |
| getMatrix | () | method |
public function getMatrix():Matrix
Returns
Matrix |
| isRepeat | () | method |
public function isRepeat():Boolean
Returns
Boolean |
| isSmooth | () | method |
public function isSmooth():Boolean
Returns
Boolean |
| setBitmapData | () | method |
public function setBitmapData(bitmapData:BitmapData):voidParameters
bitmapData:BitmapData |
| setMatrix | () | method |
public function setMatrix(matrix:Matrix):voidParameters
matrix:Matrix |
| setRepeat | () | method |
public function setRepeat(repeat:Boolean):voidParameters
repeat:Boolean |
| setSmooth | () | method |
public function setSmooth(smooth:Boolean):voidParameters
smooth:Boolean |