(start, last, editorDialog.getElementColor());
} else if (editorDialog.getElementType() == Rectangle.class) {
return new Rectangle
(start, last, editorDialog.getElementColor());
} else if (editorDialog.getElementType() == Circle.class) {
return new Circle
(start, last, editorDialog.getElementColor());
}
// curves are not currently supported - ST 6/11/04
//case VectorShape.CURVE:
// return new Curve