Class: Paper

ol.filter. Paper


new Paper(options)

Parameters:
Name Type Description
options object
Properties
Name Type Argument Default Description
active boolean <optional>
scale number <optional>
1
Deprecated:
  • use canvas filter instead

Extends

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:

setLight(light)

Set filter light

Parameters:
Name Type Description
light number

light option. 0: darker, 100: lighter