tiolancaster/svgcreator

dev-master 2016-09-08 00:06 UTC

README

SVG Creator, PHP class to generate svg files ( somewhat inspired by d3js )

Elements available:

  • circle
  • defs
  • g
  • line
  • marker
  • path
  • rect
  • svg
  • text

Also added an example of a class to make a complex figure, a line with an arrow on the end

This class validates the most common parameters in several elements, read more on the Wiki: https://github.com/TioLancaster/svgcreator/wiki

Features

TODO List

More elements More complex elements.

Build complex elements with few parameters, for example an polygon passing only the x, y and radius and number of vertices.