绘制矩形
摘要:
示例1、绘制一个矩形 var c=document.getElementById("myCanvas"); var ctx=c.getContext("2d"); ctx.strokeStyle="#0000ff"; ctx.strokeRect(20,20,150,100); 示例二、绘制渐变矩形 阅读全文
posted @ 2021-02-25 13:47 zhishiyv 阅读(118) 评论(0) 推荐(0) 编辑
posted @ 2021-02-25 13:47 zhishiyv 阅读(118) 评论(0) 推荐(0) 编辑
posted @ 2021-02-25 11:53 zhishiyv 阅读(71) 评论(0) 推荐(0) 编辑
posted @ 2021-02-25 11:21 zhishiyv 阅读(37) 评论(0) 推荐(0) 编辑