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