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