On this page:
Simple-Svg:   Scalable Vector Graphics
7.7

Simple-Svg: Scalable Vector Graphics

Chen Xiao <chenxiao770117@gmail.com>

simple-svg package is a simple tool to write svg.

thanks to Joni’s tutorial: "Svg Pocket Guide".

    1 Install

    2 Usage

      2.1 Example: Recursive Circle

      2.2 Basic Function

      2.3 basic usage

      2.4 multiple shapes

      2.5 use group

    3 Svg Style

    4 Rectangle

      4.1 rect

      4.2 rect with start point(no padding)

      4.3 rect with radius

      4.4 multiple rect

    5 Circle

      5.1 circle

      5.2 multiple circle

    6 Ellipse

      6.1 ellipse

    7 Line

      7.1 line

    8 Polyline

      8.1 polyline

    9 Polygon

      9.1 polygon

    10 Path

      10.1 Raw Path

      10.2 svg-path-moveto/svg-path-moveto*

      10.3 svg-path-close

      10.4 svg-path-lineto/lineto*/hlineto/vlineto

      10.5 svg-path-qcurve/qcurve*

      10.6 svg-path-ccurve/ccurve*

      10.7 svg-path-arc/arc*

    11 Text

    12 Gradient