会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
943987243
博客园
首页
新随笔
联系
订阅
管理
2017年3月12日
html5 <canvas>第二篇 strokeRect strokeStyle() strokeStyle() createLinearGradient addColorStop 用法 实心圆,空心圆,渐变
摘要: 这个是绘制一个带边框的矩形 绘制矩形边框strokeRect(x,y,width,height); 参数为“x”,“y”为矩形的起点坐标,“width”“height”分别为矩形的宽和高 设置边框颜色strokeStyle(); 清空图像中的颜色 clearRect(); 绘制渐变颜色 各个参数的意
阅读全文
posted @ 2017-03-12 11:04 943987243
阅读(2552)
评论(0)
推荐(0)
编辑
公告