var clientRects = svg.select("image").node().getBoundingClientRect();
 
var coordinates = [
  [clientRects.left, clientRects.top],
  [clientRects.top, clientRects.right],
  [clientRects.bottom, clientRects.left],
  [clientRects.bottom, clientRects.right]
];

 

相关文章:

  • 2021-08-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-29
猜你喜欢
  • 2022-12-23
  • 2022-03-07
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
  • 2021-10-27
相关资源
相似解决方案