We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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/flixel-different-colors.svg")); svg.render(graphics, 0, 0, 150, 150); } }
The result looks like this:
While Inkscape and Chrome render it with the correct colors:
Tested with OpenFL 8.1.1, Lime 6.3.1 and SVG 1.1.2.
SVG asset used.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The result looks like this:
While Inkscape and Chrome render it with the correct colors:
Tested with OpenFL 8.1.1, Lime 6.3.1 and SVG 1.1.2.
SVG asset used.
The text was updated successfully, but these errors were encountered: