Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
NodeJS module for converting SVG to Canvas commands
TypeScript JavaScript
Branch: master

README.md

svg2ctx 0.0.7

WIP NodeJS module for converting svg to canvas context command class.

How to use

Install
    $ [sudo] npm install -g svg2ctx

svg2ctx v0.0.7 Usage: svg2ctx -s sourceFile -d destinationFile

Options:
  -s, --source       Input SVG File                                                                                                         [required]
  -d, --destination  Output destination.                                                                                                    [required]
  -c, --className    Specifiy the full package className, ex: ex.xperiments.GraphicTest [Default: pulsar.display.(destination file name )]  [default: "$filename$"]
  -p, --plain        Export plain beautified code                                                                                           [default: false]
  -t, --template     Use Custom Javascript output template http://www.yahoo.com                                                             [default: "ctxClassTemplate.tpl"]
Something went wrong with that request. Please try again.