Skip to content
Snippets Groups Projects

Repository graph

You can move around the graph by using the arrow keys.
Select Git revision
  • master default protected
1 result
Created with Raphaël 2.2.011Oct4327Sep625Sep21Sep23Sep8Decadd NullDrawerState classmastermasteradd DrawerContext classadd interface DrawerStatefix circle rectagle drwer ads shapeApp class to Allow the user to choose the shape to draw (rectangle or circle) by pressing a key on the keyboard before starting to drawfix build.gradle to have the perfect resultfix shapeApp class to Initialize the JavaFX application and create an instance of Drawerfix Rectangle class wich Contains methods to draw the rectangle, check if a point is inside, and move it.Add mouse event handling to allow the user to draw a rectanglein Drawer classadd ShapeApp class to test my shape editor.add Drawer class that manages the shapes wich extends Canvas (javafx class)add Rectangle class that manages the shapesadd circle class that manages the shapesMove all the old code into a package named tp3, and create a new package for tp5, then add the Shape interface within itI 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 errorsi changed App class because i cant have the same draw as the td so i changed itfix of circle class some changesfix Rectangle classcorrection of Polygon to have the perfect drawchange of centerDecorator classsome changes in abaoredadaecorator because i don't have the right drawfix of abstractshapeadd of CenterDecorator class , it adds a circle around the center of the shapeadd of BorderDecorator class , it adds a border (a circle) around each point of the shape.The Decorator class adds functionality to the shapes. It also implements Shape and delegates method calls to the decorated shape.add of class polygon, it represents a polygon with a specified colorThe 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.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.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.fix of The Rectangle class who implements the draw method to render the rectangle using JavaFX's GraphicsContextADD of The abstract class AbstractShape implements the Shape interface and provides common functionality for managing pointsgradle 8.10Merge remote-tracking branch 'origin/master'gitignoregradle 8.3gradle 7.5remove dependencyInitial commit
Loading