如何使用RaphaelJS'pathIntersection()方法

How can I implement path subtraction using RaphaelJS' pathIntersection() method?

本文关键字:pathIntersection 方法 何使用 RaphaelJS      更新时间:2024-07-07

该方法的文档如下:http://raphaeljs.com/reference.html#Raphael.pathIntersection

假设我想做的是从另一条路径中减去一条路径。pathIntersection()的返回对象似乎包含了我执行此操作所需的所有信息。这是真的吗?如果是这样,基本方法是什么?

对两个路径使用parsePathString方法,比较它们,然后从不匹配的点创建一个新路径。。?

相关文章:
  • 没有找到相关文章