new Paper(options)
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
Properties
|
- 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