
html5
文章平均质量分 74
iteye_11502
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
html5 之canvas
html5汹涌而来。拿来玩玩。今天学习canvas。 首先上个例子,自己写了一个实现圆角矩形方法。 function drawRoundRect(ctx,x,y,w,h){ var d1 = 1/40*w; //设置 d1 d2的默认长度 为贝塞尔曲线取中间控制点做准备 var d2 = 1/50*w ; ctx.beginPath(); // 第一个节点 ...原创 2011-08-11 18:59:31 · 113 阅读 · 0 评论 -
html5 之canvas 参考资料
以下为引用文档: 引用地址为:https://developer.mozilla.org/en/Canvas_tutorial/Drawing_shapes 具体内容如下: Unlike SVG, canvas only supports one primitive shape - rectangles. All other shapes must be created by co...原创 2011-08-11 19:01:19 · 190 阅读 · 0 评论