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

Snap.len(x1, y1, x2, y2)

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

Returns distance between two points

Parameters

  1. x1numberx coord of first point
  2. y1numbery coord of first point
  3. x2numberx coord of second point
  4. y2numbery coord of second point

Returns: number distance