Spec-Zone.ru › OpenJavaFX 17

Class PaintConverter

java.lang.Object
javafx.css.StyleConverter<ParsedValue<?,​Paint>,​Paint>
javafx.css.converter.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

Nested Classes
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

Methods declared in class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Details

getInstance

public static StyleConverter<ParsedValue<?,Paint>,​Paint> getInstance()
Gets the PaintConverter instance.
Returns:
the PaintConverter instance

© 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.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API