added new method to DrawingPane, to draw general shapes (via double-dispatch)