Thanks to visit codestin.com
Credit goes to lib.haxe.org

flxsvg

Loads SVG files as a FlxSprite
https://github.com/Vortex2Oblivion/flxsvg

To install, run:

haxelib install flxsvg 1.1.0 

See using Haxelib in Haxelib documentation for more information.

README.md

flxsvg

OpenFL SVG Render support for HaxeFlixel.

Installation

Via haxelib:

haxelib install flxsvg

Via git for the latest updates:

haxelib git flxsvg https://github.com/Vortex2Oblivion/flxsvg

Usage

package;

import flixel.FlxState;
import openfl.utils.Assets;
import flxsvg.FlxSvgSprite;

class PlayState extends FlxState
{

	var svg:FlxSvgSprite;

	override public function create()
	{
		super.create();
		svg = new FlxSvgSprite(Assets.getText("assets/images/HaxeFlixel.svg"));
		add(svg);
	}
}

Licensing

flxsvg is made available under the MIT License. Check LICENSE for more information.

Contributors
Vortex
Version
1.1.0
Published
9 months ago
Dependencies
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub