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.
我有一个 SVG 地图,我想在地图上使用圆圈绘制一些数据。我想确保圆心落在路径内。我不能使用边界框,因为它可能在边界之外。
如何确定一个点是否在路径内?
Raphael.isPointInsidePath() - http://raphaeljs.com/reference.html#Raphael.isPointInsidePath