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