SVG 标签<path>标签

<path> 标签

<path> 标签用来定义路径。

下面的命令可用于路径数据:

  • M = moveto //目标位置
  • L = lineto//线的目标位置
  • H = horizontal lineto//水平线的目标位置
  • V = vertical lineto//垂直线的目标位置
  • C = curveto//曲线的目标位置
  • S = smooth curveto//平滑曲线的目标位置
  • Q = quadratic Belzier curve//
  • T = smooth quadratic Belzier curveto
  • A = elliptical Arc
  • Z = closepath//封闭路径

注释:以上所有命令均允许小写字母。大写表示绝对定位,小写表示相对定位。

猜你喜欢

转载自blog.csdn.net/liulei21/article/details/81670040