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