Fabric.js 1.7.12 已发布,Fabric.js 是一款简单而强大的 JavaScript Canvas 库,在 HTML5 Canvas 元素之上提供了互动的对象模型,同时还包含 Canvas-to-SVG 解析器。 使用 Fabric.js 你可以创建和填充画布上的对象,从简单的几何图形到成百上千路径组成的复杂图形。你可以通过鼠标轻松的移动、缩放和旋转这些对象,修改它们的属性(颜色、透明度,层叠顺序)等等。 更新内容: Fix: removed possible memleaks from window resize event. #3984 Fix: restored default cursor to noTarget only. unselectable objects get the standard hovercursor. #3953 Cache fixes: fix uncached pathGroup, removed cache creation at initialize time #3982 Improvement: nextTarget to mouseOut and prevTarget to mouseOver #3900 Improvement: add isClick boolean to left mouse up #3898 Fix: can start selection on top of non selectable object #3892 Improvement: better management of right/middle click #3888 Fix: subTargetCheck on activeObject/activeGroup was firing too many events #3909 Fix: After addWithUpdate or removeWithUpdate object coords must be updated. #3911 下载地址: Source code (zip) Source code (tar.gz) >>>【评论有礼】6月6日-30日评论每日更新的“新闻资讯和软件更新资讯”,评论点赞数超过 20 的可登上每周更新的“源资讯”和“软件周刊”两大栏目,点赞数超过 50 的还将获得 5 活跃积分奖励和开源中国定制好礼。详情 Fabric.js 1.7.12 发布,简易 JavaScript Canvas 库下载地址