new Colorize(options)
Parameters:
Name | Type | Description |
---|---|---|
options |
FilterColorizeOptions |
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:
-
setColor()
-
Set the color value
Parameters:
Name Type Description options.value
number a [0-1] value to modify the effect value
-
setFilter( [options])
-
Set options to the filter
Parameters:
Name Type Argument Description options
FilterColorizeOptions <optional>
-
setValue()
-
Set the filter value
Parameters:
Name Type Description options.color
ol.Color style to fill with