目录
当前位置: 首页 > 文档资料 > Snap.svg 英文文档 >

Snap.path.isPointInside(path, x, y)

优质
小牛编辑
130浏览
2023-12-01

Utility method Returns true if given point is inside a given closed path.

Note: fill mode doesn’t affect the result of this method.

Parameters

  1. pathstringpath string
  2. xnumberx of the point
  3. ynumbery of the point

Returns: boolean true if point is inside the path