svg矩形参数
Several shapes can be created using SVG drawing. An SVG drawing can use and combine seven shapes: Path, Rectangle, Circle, Ellipse, Line, Polyline, and Polygon.
使用SVG绘图可以创建多个形状。 SVG工程图可以使用和组合七个形状:路径,矩形,圆形,椭圆形,直线,折线和多边形。
路径 (Path)
The path
element is the most commonly seen, and is usually generated by programs designed to export SVG code.
path
元素是最常见的元素,通常由旨在导出SVG代码的程序生成。
<path d="M2 1 h1 v1 h1 v1 h-1 v1 h-1 v-1 h-1 v-1 h1 z" />
The example path
above will generate a “plus” symbole (+) when used inside an SVG drawing. SVG path
elements are not built manually, but generated through design programs that can manipulate vector graphics, such as Illustrator or Inkscape.
上面的示例path
在SVG工程图中使用时将生成一个“加号”(+)。 SVG path
元素不是手动构建的,而是通过可操纵矢量图形的设计程序生成的,例如Illustrator或Inkscape。