JFreeSVG
Version 4.2, by David Gilbert, 10 January 2021.
(C)opyright 2013-2021, by Object Refinery Limited. All rights reserved.
Overview
JFreeSVG is a graphics library for the Java(tm) platform that allows you to generate content in SVG format using the standard Java2D drawing API (Graphics2D). JFreeSVG is light-weight, fast, and has no dependencies other than the Java runtime (11 or later).
The home page for the project is:
Getting Started
The Javadocs for the SVGGraphics2D class gives examples for typical usage, and if you are already familiar with the Java2D APIs, then all you need to do is add the JFreeSVG dependency and start coding.
Oracle provides tutorials for Java2D here:
There are some demonstration applications in the JFree-Demos project at GitHub.
Include
JFreeSVG is published to the Central Repository. You can include it in your projects with the following dependency:
org.jfree
org.jfree.svg
4.2
JFreeSVG is a modular library with the module name org.jfree.svg.
To use JFreeSVG with Java 8, you can use the following (note the different artifact ID):
org.jfree
jfreesvg
3.4
Maven
You can build JFreeSVG from sources using Maven:
mvn clean verify
To generate the Javadocs:
mvn clean compile javadoc:javadoc
License
JFreeSVG is free software under the