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