public final class ColorConverter extends StyleConverterImpl<String,Color>
| Modifier and Type | Method and Description |
|---|---|
Color |
convert(ParsedValue<String,Color> value,
Font font)
Convert from the parsed CSS value to the target property type.
|
static StyleConverter<String,Color> |
getInstance() |
String |
toString() |
cacheValue, convert, getCachedValue, readBinary, writeBinarygetBooleanConverter, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverterpublic static StyleConverter<String,Color> getInstance()
public Color convert(ParsedValue<String,Color> value, Font font)
StyleConverterconvert in class StyleConverter<String,Color>value - The ParsedValue to convertfont - The Font to use when converting a
relative
value.Copyright © 2025. All rights reserved.