I'm trying to create a styleable property of type CornerRadii
, which requires a StyleConverter
to create the CssMetaData
. It would be great if the StyleablePropertyFactory
provided support for CornerRadii
in the same way as for Paint
, Insets
, etc., but because it doesn't a custom solution is required. An internet search yielded Oracle API 'CornerRadiiConverter' that looks like exactly what I need. The only problem is that it doesn't exist in the JDK I'm using (JDK 10.0.2]. Interesting, since the converter specified in the link is supposed to be reside in the package javafx.scene.layout
, which is not restricted API.
Does this converter still exist, and if so where can I find it, and if not is it ever coming back, and if so then what is a good ETA?