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

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

Class defining a solid fill, which is characterized by its color and opacity

Public Properties

| Property | Defined by
--- | --- | ---
|  | color : uint The color of the fill | SolidFill
|  | opacity : Number The opacity of the fill | SolidFill

Public Methods

| Method | Defined by
--- | --- | ---
|  | SolidFill(color:uint = 0xffffff, opacity:Number = 1) | SolidFill
|  | configureGraphics(graphics:Graphics):void | SolidFill

Property detail

color | property

`color:uint` [read-write]

The color of the fill

Implementation
`public function get color():uint`
`public function set color(value:uint):void`

opacity | property |

`opacity:Number` [read-write]

The opacity of the fill

Implementation
`public function get opacity():Number`
`public function set opacity(value:Number):void`
Constructor detail

SolidFill | () | constructor

`public function SolidFill(color:uint = 0xffffff, opacity:Number = 1)`Parameters

| `color:uint` (default = `0xffffff`)``
| `opacity:Number` (default = `1`)``

Method detail

configureGraphics | () | method

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

| `graphics:Graphics`