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