0

Can we calculate divs width and height from angle and w and h values shown in the picture ?

enter image description here

Shoyeb Sheikh
  • 2,659
  • 2
  • 10
  • 19
  • This might help you out: https://stackoverflow.com/questions/10392658/calculate-the-bounding-boxs-x-y-height-and-width-of-a-rotated-element-via-jav – Nicolae Maties Jul 23 '20 at 14:31
  • try this https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect – Lhew Jul 23 '20 at 14:37

0 Answers0