SVG库

Raphael http://raphaeljs.com/

document.createElementNS()

HSL颜色

RequestAnimationFrame

<patter>画背景网格

dx, dy支持数组,会覆盖之前在设值,会传递到兄弟元素,子元素

Math在应用: sin, round等

Array新增的方法:map, filter等

Text.getBBox

 

 世界,视窗,视野

<svg width="", height="" // 视窗

viewBox="0 0 400 300" //视野

preserveAspectRatio="" //视野与视窗的调整

/> 

 

 

 路径文本

textpath: startOffset 百分比

text

  text-anchor: start | middle | end

  x, dx 偏移量

  dy 垂直偏移

裁切

  clipPath

<use>

<animateTransform>

posted @ 2014-12-31 11:31  Derek_Hu  阅读(407)  评论(0编辑  收藏  举报