javascript - Can I apply filters to Fabric.js primitives? -
is possible apply image filters primitives, paths, shapes , text? it's kind of weird able them on more complicated images, not able blue rectangle. "cheat" this?
if in fabric.js code, see fabric.js filter feature creating new image original image (i.e. each pixel in new image calculated manually applying filter pixels in original image). thus, fabric.js filter feature applies images.
remember fabric.js provides model on top of canvas element. current standard specs canvas 2d rendering context not support general concept of filters.
Comments
Post a Comment