throw new IllegalArgumentException();
}
if (shape instanceof ExtendedShape) {
this.extShape = (ExtendedShape)shape;
} else {
this.extShape = new ShapeExtender(shape);
}
this.startMarkerProxy = null;
this.middleMarkerProxies = null;
this.endMarkerProxy = null;