坐标系是不能旋转的可以用坐标变换的方法
高中的立体几何里面学过
高中的立体几何里面学过
解决方案 »
- 这个图片预览代码哪里错了啊啊啊
- 请问高手这种功能怎么实现?帮忙看看
- ext js 缩动栏不起作用
- 求:javascript中如何遍历某一个Table中的某一列的checkbox
- 求教这段js写的cookies代码在jsp中如何调用
- 一个现象:标准html标签如:<p>abc</p>,用.childNodes读取为p、text两部分,p节点.hasChildNodes()为true,但自定义节点如:<abc>abc</a
- 如何在层中双击滚动层内容
- 请问在javascript中有没有和vbscript的string一样的函数?
- 急:如何获取数据流
- 怎么在打印完页面后,关闭该窗口
- 如何判断自己的页面被其他站点在iframe中调用?
- 骞繖妾㈡煡涓€鍊嬬啊鍠殑鍑芥暩浠g⒓(鍦ㄧ窔绛?
给你个例子:
<html xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<title>Thinking in VML</title>
</head>
<STYLE>
v\:* { BEHAVIOR: url(#default#VML) }
</STYLE>
<LINK REL="stylesheet" TYPE="text/css" HREF="style.css" />
<script language="javascript">
function rotation(){
document.all.rot.rotation=document.all.rot.rotation+10;
}
</script>
<body>
<v:group id="rot" style='width:520px;height:390px;' coordorigin="0 0" coordsize="3000 3000">
<v:line from="500,500" to="2500,2500" strokeColor="red"/>
<v:oval style="left:1500;top:1500;width:100;height:100;" fillcolor="red" strokeColor="red"/>
</v:group>
<input type=button onclick="rotation()" style="position:absolute;left=10;top=20;"value="旋转">
</body>
</html>