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