Skip to content
Snippets Groups Projects
Shape.java 253 B
Newer Older
  • Learn to ignore specific revisions
  • BasileCouetoux's avatar
    BasileCouetoux committed
    package shape;
    
    import javafx.geometry.Point2D;
    import javafx.scene.canvas.GraphicsContext;
    
    public interface Shape {
    
        void paint(GraphicsContext graphicsContext);
        boolean contains(double x, double y);
        void translate(double dx, double dy);
    
    BasileCouetoux's avatar
    BasileCouetoux committed
    }