Skip to content
Snippets Groups Projects
Commit be6c814e authored by John Doe's avatar John Doe
Browse files

Trying

parent 4c6df8a1
No related branches found
No related tags found
No related merge requests found
package fr.univamu; package fr.univamu;
import fr.univamu.svg.SvgElement; import static fr.univamu.svg.SvgAttribute.tag;
import myFiles.Circle;
import myFiles.Shape;
import myFiles.Vector2D;
import myFiles.Regular;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import static fr.univamu.svg.SvgAttribute.tag; import fr.univamu.svg.SvgElement;
import myFiles.Regular;
import myFiles.Shape;
import myFiles.Vector2D;
public class App { public class App {
...@@ -30,6 +29,6 @@ public class App { ...@@ -30,6 +29,6 @@ public class App {
} }
public static void main(String[] args) throws FileNotFoundException { public static void main(String[] args) throws FileNotFoundException {
write(new Regular(new Vector2D(1, 0), new Vector2D(0,1), new Vector2D(1, -1), new Vector2D(-1, 1)),"out/circle.svg"); write(new Regular(Vector2D.cartesian(1, 0), new Vector2D(0,0), new Vector2D(0, 1), new Vector2D(1, 1)),"out/circle.svg");
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment