MIT License Haxelib Version Build Status
Provides SVG parsing and rendering
You can easily install SVG using haxelib:
haxelib install svg
To add it to a Lime or OpenFL project, add this to your project file:
<haxelib name="svg" />
package; import format.SVG; import openfl.display.Sprite; import openfl.Assets; class Main extends Sprite { public function new () { super (); var svg = new SVG (Assets.getText ("assets/icon.svg")); svg.render (graphics); } }
Install the haxelib from GitHub:
haxelib git svg https://github.com/openfl/svg
To return to release builds:
haxelib dev svg
svg includes some tests that render SVGs and make sure they look the way they're supposed to. These tests run automatically with each build/commit. For more information about running them manually, see test/README.md.