public class ShapeConverter extends StyleConverter<String,Shape>
Converter to convert a SVG shape string into a
Shape
object.- Since:
- 9
-
Nested Class Summary
Nested classes/interfaces declared in class javafx.css.StyleConverter
StyleConverter.StringStore
-
Method Summary
Modifier and Type Method Description static void
clearCache()
Clears theShapeConverter
cache.static StyleConverter<String,Shape>
getInstance()
Gets theShapeConverter
instance.Methods declared in class javafx.css.StyleConverter
cacheValue, convert, convert, getBooleanConverter, getCachedValue, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter, readBinary, writeBinary
-
Method Details
-
getInstance
Gets theShapeConverter
instance.- Returns:
- the
ShapeConverter
instance
-
clearCache
public static void clearCache()Clears theShapeConverter
cache.
-