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