new Mask( [options])
Parameters:
Name | Type | Argument | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
Properties
|
Requires:
- module:ol.filter
Extends
Requires
- module:ol.filter
Methods
-
getActive()
-
Get filter active
- Inherited From:
- Overrides:
Returns:
- Type
- boolean
-
setActive(b)
-
Activate / deactivate filter
Parameters:
Name Type Description b
boolean - Inherited From:
- Overrides:
-
setFillColor(color)
-
Set filter fill color
Parameters:
Name Type Description color
ol/colorLike -
setShadowColor(color)
-
Set filter shadow color
Parameters:
Name Type Description color
ol/colorLike