Categories
Dictionnary
Download
Project Details
FAQ
License


The fxsvgImage library allows to:
  • Convert a SVG file to a JavaFX Node tree or an Image
  • Convert a JavaFX Node tree to a SVG file


Note that contrary to other existing libraries, this library has no external dependencies (including Batik).

SVG to JavaFX conversion usage


The most simple way to use the library is just by calling one of the SVGLoader.load static methods. For example:

      SVGImage img = SVGLoader.load(<my SVG file>);

The SVGImage class is a JavaFX Group.

JavaFX to svg conversion usage


You use the library by calling the SVGConverter.convert methods. For example:

      SVGConverter converter = new SVGConverter();
      converter.convert(<my javaFX root>, <my SVG file>);

Distribution

Main Article: Distribution

SVG support

Main Article: SVG support

This library supports:

Built-in browser

Main Article: Browser

You can start the built-in browser by double-clicking on the fxsvgBrowser.jar jar file.

License

Main Article: License

History

Main Article: Release history


Categories: general

Developers

Join this project:

To join this project, please contact the project administrators of this project, as shown on the project summary page.

Get the source code:

Source code for this project is available as downloads or through the git repository used by the project, as accessible from the github develop page.

Copyright 2021-2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD-3-Clause License