modules/graphics/src/main/java/javafx/css/converter/ShapeConverter.java
Print this page
rev 9240 : 8076423: JEP 253: Prepare JavaFX UI Controls & CSS APIs for Modularization
@@ -21,25 +21,26 @@
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
-package com.sun.javafx.css.converters;
+package javafx.css.converter;
-import com.sun.javafx.css.StyleConverterImpl;
import javafx.css.ParsedValue;
import javafx.css.StyleConverter;
import javafx.scene.shape.SVGPath;
import javafx.scene.shape.Shape;
import javafx.scene.text.Font;
import java.util.Map;
/**
* Converts an SVG shape string into a Shape object.
+ *
+ * @since 9
*/
-public class ShapeConverter extends StyleConverterImpl<String, Shape> {
+public class ShapeConverter extends StyleConverter<String, Shape> {
private static final ShapeConverter INSTANCE = new ShapeConverter();
public static StyleConverter<String, Shape> getInstance() { return INSTANCE; }
@Override public Shape convert(ParsedValue<String, Shape> value, Font font) {