Add SCircle

This commit is contained in:
2019-03-19 21:54:57 +01:00
parent 5be59b37f0
commit 98b05e435e
5 changed files with 82 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
package ovh.gasser.newshapes;
import ovh.gasser.newshapes.shapes.SCircle;
import ovh.gasser.newshapes.shapes.SCollection;
import ovh.gasser.newshapes.shapes.SRectangle;
import ovh.gasser.newshapes.shapes.Shape;
@@ -31,7 +32,8 @@ public class App {
SRectangle.create(70, 10, 40, 60),
SCollection.of(
SRectangle.create(100, 200, 40, 60, Color.MAGENTA),
SRectangle.create(150, 200, 40, 60, Color.MAGENTA)
SRectangle.create(150, 200, 40, 60, Color.MAGENTA),
SCircle.create(200, 200, 60)
)
);
}