public final class BackgroundSizeConverter extends StyleConverterImpl<ParsedValue[],BackgroundSize>
Modifier and Type | Field and Description |
---|---|
private static BackgroundSizeConverter |
BACKGROUND_SIZE_CONVERTER |
Modifier | Constructor and Description |
---|---|
private |
BackgroundSizeConverter() |
Modifier and Type | Method and Description |
---|---|
BackgroundSize |
convert(ParsedValue<ParsedValue[],BackgroundSize> value,
Font font)
Convert from the parsed CSS value to the target property type.
|
static BackgroundSizeConverter |
getInstance() |
java.lang.String |
toString() |
cacheValue, convert, getCachedValue, readBinary, writeBinary
getBooleanConverter, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter
private static final BackgroundSizeConverter BACKGROUND_SIZE_CONVERTER
public static BackgroundSizeConverter getInstance()
public BackgroundSize convert(ParsedValue<ParsedValue[],BackgroundSize> value, Font font)
StyleConverter
convert
in class StyleConverter<ParsedValue[],BackgroundSize>
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