Parameters for: red, green, blue, cyan, magenta, yellow, notred, notgreen, notblue, grayscale, sepia, invert filters
To change image, drag-and-drop an image file over the canvas
Opacity
Memoize filters
Test purpose
- Create a test Picture entity
- Create red, green, blue, cyan, magenta, yellow, notred, notgreen, notblue, grayscale, sepia and invert filters; apply them to the test entity
- Update filter attribute and observe the effect it has on the entitys
Touch test: not required
Annotated code