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