相关疑难解决方法(0)

获取变换后旋转对象的宽度和高度

这个问题是问题的后续问题:变换后的宽度/高度.

我发布了一个新问题,因为这个问题只能解决宽度而不是高度.公式:

var x = $('#box').width()*Math.cos(rotationAngle) 
      + $('#box').height()*Math.sin(rotationAngle);
Run Code Online (Sandbox Code Playgroud)

适用于宽度,计算高度的等效公式是什么?

谢谢.

javascript css jquery css3

6
推荐指数
1
解决办法
2980
查看次数

标签 统计

css ×1

css3 ×1

javascript ×1

jquery ×1