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