public void setShapeRendering(String value) {
        if (!value.equals("auto") && !value.equals("crispEdges") 
                && !value.equals("geometricPrecision") 
                && !value.equals("optimizeSpeed")) {
            throw new IllegalArgumentException("Unrecognised value: " + value);
        }
        this.shapeRendering = value;
    }
public void setShapeRendering(String value) {
        if (!value.equals("auto") && !value.equals("crispEdges") 
                && !value.equals("geometricPrecision") 
                && !value.equals("optimizeSpeed")) {
            throw new IllegalArgumentException("Unrecognised value: " + value);
        }
        this.shapeRendering = value;
    }
public void setShapeRendering ( String value ) { if ( ! value . equals ( "auto" ) && ! value . equals ( "crispEdges" ) && ! value . equals ( "geometricPrecision" ) && ! value . equals ( "optimizeSpeed" ) ) { throw new IllegalArgumentException ( "Unrecognised value: " + value ) ; } this . shapeRendering = value ; }
Sets the value of the 'shape-rendering' property that will be written to
the SVG element.  Permitted values are "auto", "crispEdges",
"geometricPrecision", "inherit" and "optimizeSpeed".

@param value  the new value.

@since 2.0
Sets the value of the shape - rendering property that will be written to the SVG element . Permitted values are auto crispEdges geometricPrecision inherit and optimizeSpeed .