Class ShapeConverter
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 the ShapeConverter cache. |
static StyleConverter |
getInstance() |
Gets the ShapeConverter 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
public static StyleConverter<String,Shape> getInstance()
Gets the
ShapeConverter instance.- Returns:
- the
ShapeConverterinstance
clearCache
public static void clearCache()
Clears the
ShapeConverter cache.
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.