Skip to content

ctgnz/foxglove

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foxglove SVG/JavaFX

Java CI with Maven

Native support for SVG 1.1 in JavaFX

This library provides an XML binding of the SVG schema, and a binding to create JavaFX components from the parsed SVG objects.

Current status: Under development

Basic Usage

// The parser should be created once in the application and injected wherever needed
FoxgloveParser parser = new FoxgloveParser();
...
BorderPane parent = new BorderPane();
SvgGraphic graphic = parser.parse(Files.newInputStream("myfile.svg"));
parent.setCenter(graphic.createGraphic());