API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class BitmapFill

Package | org.openscales.core.style.fill
Class | public class BitmapFill
Inheritance | BitmapFill Fill

Public Properties

| Property | Defined by
--- | --- | ---
|  | bitmap : BitmapData The bitmap data used for the fill | BitmapFill
|  | matrix : Matrix The matrix for placing the bitmap | BitmapFill
|  | repeat : Boolean Whether the bitmap should be repeated | BitmapFill
|  | smooth : Boolean Whether the bitmap should be smoothed | BitmapFill

Public Methods

| Method | Defined by
--- | --- | ---
|  | BitmapFill(bitmap:BitmapData, matrix:Matrix = null, repeat:Boolean = true, smooth:Boolean = false) | BitmapFill
|  | configureGraphics(graphics:Graphics):void | BitmapFill

Property detail

bitmap | property

`bitmap:BitmapData` [read-write]

The bitmap data used for the fill

Implementation
`public function get bitmap():BitmapData`
`public function set bitmap(value:BitmapData):void`

matrix | property |

`matrix:Matrix` [read-write]

The matrix for placing the bitmap

Implementation
`public function get matrix():Matrix`
`public function set matrix(value:Matrix):void`

repeat | property |

`repeat:Boolean` [read-write]

Whether the bitmap should be repeated

Implementation
`public function get repeat():Boolean`
`public function set repeat(value:Boolean):void`

smooth | property |

`smooth:Boolean` [read-write]

Whether the bitmap should be smoothed

Implementation
`public function get smooth():Boolean`
`public function set smooth(value:Boolean):void`
Constructor detail

BitmapFill | () | constructor

`public function BitmapFill(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`)``

Method detail

configureGraphics | () | method

`public override function configureGraphics(graphics:Graphics):void` Parameters

| `graphics:Graphics`