Implement SVG export
This commit is contained in:
@@ -2,7 +2,7 @@ package ovh.gasser.newshapes;
|
||||
|
||||
import ovh.gasser.newshapes.shapes.SCollection;
|
||||
import ovh.gasser.newshapes.shapes.SRectangle;
|
||||
import ovh.gasser.newshapes.ui.html.*;
|
||||
import ovh.gasser.newshapes.ui.visitors.*;
|
||||
|
||||
import java.awt.*;
|
||||
import java.io.FileNotFoundException;
|
||||
@@ -12,7 +12,7 @@ public class HTMLExporter {
|
||||
|
||||
private final SCollection model;
|
||||
|
||||
private HTMLExporter() throws FileNotFoundException {
|
||||
private HTMLExporter() {
|
||||
this(SCollection.of(
|
||||
SRectangle.create(10, 10, 40, 60, Color.RED),
|
||||
SRectangle.create(70, 10, 40, 60),
|
||||
|
||||
Reference in New Issue
Block a user