- java.lang.Object
-
- javafx.css.StyleConverter<String,Shape>
-
- javafx.css.converter.ShapeConverter
-
public class ShapeConverter extends StyleConverter<String,Shape>
Converter to convert a SVG shape string into aShapeobject.- Since:
- 9
-
-
Nested Class Summary
-
Nested classes/interfaces declared in class javafx.css.StyleConverter
StyleConverter.StringStore
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclearCache()Clears theShapeConvertercache.static StyleConverter<String,Shape>getInstance()Gets theShapeConverterinstance.-
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 Detail
-
getInstance
public static StyleConverter<String,Shape> getInstance()
Gets theShapeConverterinstance.- Returns:
- the
ShapeConverterinstance
-
clearCache
public static void clearCache()
Clears theShapeConvertercache.
-
-