Class: Mask

ol.filter. Mask


new Mask(options)

Mask drawing using an ol.Feature

Parameters:
Name Type Description
options *
Properties
Name Type Description
feature ol.Feature

feature to mask with

fill ol.style.Fill

style to fill with

inner bool

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
bool

setActive(b)

Activate / deactivate filter

Parameters:
Name Type Description
b bool
Inherited From: