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