@Override public AbstractShape create(int x, int y) { startPos = new Point(x, y); myOval = new MyOval(); myOval.setStart(startPos); return myOval; }
@Override public AbstractShape expand(int x, int y) { myOval.setEnd(new Point(x, y)); return myOval; }