import javafx.scene.paint.Color; import javafx.scene.canvas.GraphicsContext; public abstract class AShape //you cannot create an instance of this class { private Color color; private double xLoc; private double yLoc; public AShape(Color color, double xLoc, double yLoc) { this.color = color; this.xLoc = xLoc; this.yLoc = yLoc; } public Color getColor() { return color; } public abstract void draw(GraphicsContext pen); }