public final class LadderConverter extends StyleConverterImpl<ParsedValue[],Color>
Modifier and Type | Class and Description |
---|---|
private static class |
LadderConverter.Holder |
Modifier | Constructor and Description |
---|---|
private |
LadderConverter() |
Modifier and Type | Method and Description |
---|---|
Color |
convert(ParsedValue<ParsedValue[],Color> value,
Font font)
Convert from the parsed CSS value to the target property type.
|
static LadderConverter |
getInstance() |
java.lang.String |
toString() |
cacheValue, convert, getCachedValue, readBinary, writeBinary
getBooleanConverter, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter
public static LadderConverter getInstance()
public Color convert(ParsedValue<ParsedValue[],Color> value, Font font)
StyleConverter
convert
in class StyleConverter<ParsedValue[],Color>
value
- The ParsedValue
to convertfont
- The Font
to use when converting a
relative
value.public java.lang.String toString()
toString
in class java.lang.Object