<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
#canvas {
margin-left: 10px;
margin-top: 10px;
border: 1px solid cornflowerblue;
background: #eeeeee;
border: thin solid #aaaaaa;
-webkit-box-shadow: rgba(200, 200, 255, 0.9) 5px 5px 10px;
-moz-box-shadow: rgba(200, 200, 255, 0.9) 5px 5px 10px;
box-shadow: rgba(200, 200, 255, 0.9) 5px 5px 10px;
}
</style>
</head>
<body>
<canvas id='canvas' width='600' height='420'>
Canvas not supported
</canvas>
<script>
var canvas=document.getElementById('canvas');
context=canvas.getContext('2d')
function drawText(){
co
canvas动画之剪切圆
最新推荐文章于 2024-04-28 15:07:45 发布