Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在对 Konva.Image 应用过滤器,但找不到任何方法来删除这些过滤器并返回到原始图像。
我怎样才能做到这一点?
要禁用过滤器,您只需清除缓存:
image.clearCache(); // also you can do this if you want to remove filters image.filters([]);