Constructor
# new Fill(opts)
Initialization object
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
opts |
object
|
Tile layer options. |
||
color |
object
|
<optional> |
null | A color definition "rgba(red, green, blue, alpha)", "rgb(red, green, blue)" and "#FFFFFF" format supported. |
Classes
Methods
# getColor() → {string}
Get the stroke color.
A color definition "rgba(red, green, blue, alpha)", "rgb(red, green, blue)" and "#FFFFFF" format supported.
string
# setColor(color)
Set the color.
Parameters:
Name | Type | Description |
---|---|---|
color |
string
|
A color definition "rgba(red, green, blue, alpha)", "rgb(red, green, blue)" and "#FFFFFF" format supported. |