Class PaintConverter
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
| Modifier and Type | Class | Description |
|---|---|---|
static class | PaintConverter.ImagePatternConverter | Converter to convert image pattern parsed values to a Paint object. |
static class | PaintConverter.LinearGradientConverter | Converter to convert linear gradient parsed values to a Paint object. |
static class | PaintConverter.RadialGradientConverter | Converter to convert radial gradient parsed values to a Paint object. |
static class | PaintConverter.RepeatingImagePatternConverter | Converter to convert repeating image pattern parsed values to a Paint object. |
static class | PaintConverter.SequenceConverter | Converter to convert a sequence of parsed values to an array of Paint 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 the PaintConverter 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
public static StyleConverter<ParsedValue<?,Paint>,Paint> getInstance()
Gets the
PaintConverter instance.- Returns:
- the
PaintConverterinstance
© 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.