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

Snap.angle(x1, y1, x2, y2, [x3], [y3])

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

Returns an angle between two or three 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
  5. x3numberx coord of third point
  6. y3numbery coord of third point

Returns: number angle in degrees