public static final class PaintConverter.LinearGradientConverter extends StyleConverterImpl<ParsedValue[],Paint>
Modifier | Constructor and Description |
---|---|
private |
LinearGradientConverter() |
Modifier and Type | Method and Description |
---|---|
Paint |
convert(ParsedValue<ParsedValue[],Paint> value,
Font font)
Convert from the parsed CSS value to the target property type.
|
static PaintConverter.LinearGradientConverter |
getInstance() |
java.lang.String |
toString() |
cacheValue, convert, getCachedValue, readBinary, writeBinary
getBooleanConverter, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter
public static PaintConverter.LinearGradientConverter getInstance()
public Paint convert(ParsedValue<ParsedValue[],Paint> value, Font font)
StyleConverter
convert
in class StyleConverter<ParsedValue[],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