public void setTextRendering ( String value ) { if ( ! value . equals ( "auto" ) && ! value . equals ( "optimizeSpeed" ) && ! value . equals ( "optimizeLegibility" ) && ! value . equals ( "geometricPrecision" ) ) { throw new IllegalArgumentException ( "Unrecognised value: " + value ) ; } this . textRendering = value ; }
Sets the value of the text - rendering property that will be written to the SVG element . Permitted values are auto optimizeSpeed optimizeLegibility and geometricPrecision .