public final class PaintConverter extends StyleConverterImpl<ParsedValue<?,Paint>,Paint>
| Modifier and Type | Class and Description |
|---|---|
private static class |
PaintConverter.Holder |
static class |
PaintConverter.ImagePatternConverter |
static class |
PaintConverter.LinearGradientConverter |
static class |
PaintConverter.RadialGradientConverter |
static class |
PaintConverter.RepeatingImagePatternConverter |
static class |
PaintConverter.SequenceConverter
Convert [ |
| Modifier | Constructor and Description |
|---|---|
private |
PaintConverter() |
| 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() |
java.lang.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.public java.lang.String toString()
toString in class java.lang.Object