public final class PaintConverter extends StyleConverter<ParsedValue<?,Paint>,Paint>
Converter to convert a parsed representation of a
Paint
to a Paint
.- Since:
- 9
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PaintConverter.ImagePatternConverter
Converter to convert image pattern parsed values to aPaint
object.static class
PaintConverter.LinearGradientConverter
Converter to convert linear gradient parsed values to aPaint
object.static class
PaintConverter.RadialGradientConverter
Converter to convert radial gradient parsed values to aPaint
object.static class
PaintConverter.RepeatingImagePatternConverter
Converter to convert repeating image pattern parsed values to aPaint
object.static class
PaintConverter.SequenceConverter
Converter to convert a sequence of parsed values to an array ofPaint
objects.Nested classes/interfaces declared in class javafx.css.StyleConverter
StyleConverter.StringStore
-
Method Summary
Modifier and Type Method Description static StyleConverter<ParsedValue<?,Paint>,Paint>
getInstance()
Gets thePaintConverter
instance.Methods declared in class javafx.css.StyleConverter
cacheValue, clearCache, convert, convert, getBooleanConverter, getCachedValue, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter, readBinary, writeBinary
-
Method Details
-
getInstance
Gets thePaintConverter
instance.- Returns:
- the
PaintConverter
instance
-