Commits on Source 25
-
AREZKI Celia authored
ADD of The abstract class AbstractShape implements the Shape interface and provides common functionality for managing points
-
AREZKI Celia authored
fix of The Rectangle class who implements the draw method to render the rectangle using JavaFX's GraphicsContext
-
AREZKI Celia authored
fix of The Circle class stores the center point and radius, and it implements the draw method to render the circle using JavaFX's GraphicsContext.
-
AREZKI Celia authored
fix of The Circle class stores the center point and radius, and it implements the draw method to render the circle using JavaFX's GraphicsContext.
-
AREZKI Celia authored
The ShapeContainer class now correctly adds shapes to a list with the addShape method, and the draw method iterates over the shapes to render them on the canvas.
-
AREZKI Celia authored
-
AREZKI Celia authored
The Decorator class adds functionality to the shapes. It also implements Shape and delegates method calls to the decorated shape.
-
AREZKI Celia authored
-
AREZKI Celia authored
-
AREZKI Celia authored
-
AREZKI Celia authored
-
AREZKI Celia authored
-
AREZKI Celia authored
-
AREZKI Celia authored
-
AREZKI Celia authored
-
AREZKI Celia authored
-
AREZKI Celia authored
I corrected a few small errors in different classes because yesterday everything I did was on my own computer using Visual Studio, and I couldn't see the errors
-
AREZKI Celia authored
Move all the old code into a package named tp3, and create a new package for tp5, then add the Shape interface within it
-
AREZKI Celia authored
-
AREZKI Celia authored
-
AREZKI Celia authored
-
AREZKI Celia authored
-
AREZKI Celia authored
-
AREZKI Celia authored
fix Rectangle class wich Contains methods to draw the rectangle, check if a point is inside, and move it.
-
AREZKI Celia authored
Showing
- .idea/misc.xml 2 additions, 1 deletion.idea/misc.xml
- src/main/java/serializer/DrawerWithSave.java 0 additions, 4 deletionssrc/main/java/serializer/DrawerWithSave.java
- src/main/java/serializer/ShapeReader.java 1 addition, 2 deletionssrc/main/java/serializer/ShapeReader.java
- src/main/java/serializer/ShapeWriter.java 1 addition, 1 deletionsrc/main/java/serializer/ShapeWriter.java
- src/main/java/shape/App.java 17 additions, 8 deletionssrc/main/java/shape/App.java
- src/main/java/shape/tp3/AbstractShape.java 29 additions, 0 deletionssrc/main/java/shape/tp3/AbstractShape.java
- src/main/java/shape/tp3/BorderDecorator.java 22 additions, 0 deletionssrc/main/java/shape/tp3/BorderDecorator.java
- src/main/java/shape/tp3/CenterDecorator.java 31 additions, 0 deletionssrc/main/java/shape/tp3/CenterDecorator.java
- src/main/java/shape/tp3/Circle.java 36 additions, 0 deletionssrc/main/java/shape/tp3/Circle.java
- src/main/java/shape/tp3/Decorator.java 29 additions, 0 deletionssrc/main/java/shape/tp3/Decorator.java
- src/main/java/shape/tp3/Polygon.java 28 additions, 0 deletionssrc/main/java/shape/tp3/Polygon.java
- src/main/java/shape/tp3/Rectangle.java 44 additions, 0 deletionssrc/main/java/shape/tp3/Rectangle.java
- src/main/java/shape/tp3/Shape.java 4 additions, 2 deletionssrc/main/java/shape/tp3/Shape.java
- src/main/java/shape/tp3/ShapeContainer.java 21 additions, 0 deletionssrc/main/java/shape/tp3/ShapeContainer.java
- src/main/java/shape/tp5/Circle.java 30 additions, 0 deletionssrc/main/java/shape/tp5/Circle.java
- src/main/java/shape/tp5/Drawer.java 63 additions, 0 deletionssrc/main/java/shape/tp5/Drawer.java
- src/main/java/shape/tp5/Rectangle.java 29 additions, 0 deletionssrc/main/java/shape/tp5/Rectangle.java
- src/main/java/shape/tp5/Shape.java 9 additions, 0 deletionssrc/main/java/shape/tp5/Shape.java
- src/main/java/shape/tp5/ShapeApp.java 22 additions, 0 deletionssrc/main/java/shape/tp5/ShapeApp.java
- src/main/java/state/Drawer.java 1 addition, 2 deletionssrc/main/java/state/Drawer.java
src/main/java/shape/tp3/BorderDecorator.java
0 → 100644
src/main/java/shape/tp3/CenterDecorator.java
0 → 100644
src/main/java/shape/tp3/Decorator.java
0 → 100644
src/main/java/shape/tp3/Polygon.java
0 → 100644
src/main/java/shape/tp3/Rectangle.java
0 → 100644
src/main/java/shape/tp5/Circle.java
0 → 100644
src/main/java/shape/tp5/Drawer.java
0 → 100644
src/main/java/shape/tp5/Rectangle.java
0 → 100644
src/main/java/shape/tp5/Shape.java
0 → 100644
src/main/java/shape/tp5/ShapeApp.java
0 → 100644