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