$filter
Use filters in your canvas.
Usage
Parameters
Field | Description | Type | Required |
---|---|---|---|
canvas | The canvas name. | string | true |
method | The method. (add/set/remove/clear/get/parse) | “add” | “set” | “remove” | “clear” | “get” | “parse” | true |
name | The filter name. | ”none” | “blur” | “sepia” | “grayscale” | “brightness” | “contrast” | “invert” | “saturate” | false |
value | The filter value. | number | false |
Example(s)
Soon ™