Implement SVG export

This commit is contained in:
2026-03-19 19:06:12 +01:00
parent ad45eddbf5
commit b8ecf9859b
5 changed files with 130 additions and 4 deletions

View File

@@ -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),