public final class BackgroundPositionConverter extends StyleConverterImpl<ParsedValue[],BackgroundPosition>
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() |
String |
toString() |
cacheValue, convert, getCachedValue, readBinary, writeBinary
getBooleanConverter, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter
public static BackgroundPositionConverter getInstance()
public BackgroundPosition convert(ParsedValue<ParsedValue[],BackgroundPosition> value, Font font)
StyleConverter
convert
in class StyleConverter<ParsedValue[],BackgroundPosition>
value
- The ParsedValue
to convertfont
- The Font
to use when converting a
relative
value.Copyright © 2020. All rights reserved.