public final class LayeredBackgroundSizeConverter extends StyleConverterImpl<ParsedValue<ParsedValue[],BackgroundSize>[],BackgroundSize[]>
Modifier and Type | Field and Description |
---|---|
private static LayeredBackgroundSizeConverter |
LAYERED_BACKGROUND_SIZE_CONVERTER |
Modifier | Constructor and Description |
---|---|
private |
LayeredBackgroundSizeConverter() |
Modifier and Type | Method and Description |
---|---|
BackgroundSize[] |
convert(ParsedValue<ParsedValue<ParsedValue[],BackgroundSize>[],BackgroundSize[]> value,
Font font)
Convert from the parsed CSS value to the target property type.
|
static LayeredBackgroundSizeConverter |
getInstance() |
cacheValue, convert, getCachedValue, readBinary, writeBinary
getBooleanConverter, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter
private static final LayeredBackgroundSizeConverter LAYERED_BACKGROUND_SIZE_CONVERTER
public static LayeredBackgroundSizeConverter getInstance()
public BackgroundSize[] convert(ParsedValue<ParsedValue<ParsedValue[],BackgroundSize>[],BackgroundSize[]> value, Font font)
StyleConverter
convert
in class StyleConverter<ParsedValue<ParsedValue[],BackgroundSize>[],BackgroundSize[]>
value
- The ParsedValue
to convertfont
- The Font
to use when converting a
relative
value.