Skip to content
Snippets Groups Projects
Shape.java 213 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 {
        int pointsCount();
        Point2D point(int index);
        void draw(GraphicsContext context);
    }