Add a string attribute called 'filter' to CanvasRenderingContext2D to apply effects to primitives drawn to the canvas. The attributes is parsed the same way as CSS filters.
Docs: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter