public final class InsetsConverter extends StyleConverterImpl<ParsedValue[],Insets>
Modifier and Type | Class and Description |
---|---|
static class |
InsetsConverter.SequenceConverter
Convert a
|
Modifier and Type | Method and Description |
---|---|
Insets |
convert(ParsedValue<ParsedValue[],Insets> value,
Font font)
Convert from the parsed CSS value to the target property type.
|
static StyleConverter<ParsedValue[],Insets> |
getInstance() |
String |
toString() |
cacheValue, convert, getCachedValue, readBinary, writeBinary
getBooleanConverter, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter
public static StyleConverter<ParsedValue[],Insets> getInstance()
public Insets convert(ParsedValue<ParsedValue[],Insets> value, Font font)
StyleConverter
convert
in class StyleConverter<ParsedValue[],Insets>
value
- The ParsedValue
to convertfont
- The Font
to use when converting a
relative
value.Copyright © 2020. All rights reserved.