Class: Mask

ol.filter. Mask


new Mask( [options])

Mask drawing using an ol.Feature

Parameters:
Name Type Argument Description
options Object <optional>
Properties
Name Type Argument Description
feature ol.Feature <optional>

feature to mask with

fill ol.style.Fill <optional>

style to fill with

inner boolean <optional>

mask inner, default false

Requires:
  • module:ol.filter

Extends

Requires

  • module:ol.filter

Methods


drawFeaturePath_()

Draw the feature into canvas


getActive()

Get filter active

Inherited From:
Returns:
Type
boolean

setActive(b)

Activate / deactivate filter

Parameters:
Name Type Description
b boolean
Inherited From: