public class StrokeBorderPaintConverter extends StyleConverterImpl<ParsedValue<?,Paint>[],Paint[]>
| Modifier and Type | Field and Description |
|---|---|
private static StrokeBorderPaintConverter |
STROKE_BORDER_PAINT_CONVERTER
Convert an array of border paint values to an array of Paint which
contains one Paint element per border (top, right, bottom, left).
|
| Modifier | Constructor and Description |
|---|---|
private |
StrokeBorderPaintConverter() |
| 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 StrokeBorderPaintConverter |
getInstance() |
java.lang.String |
toString() |
cacheValue, convert, getCachedValue, readBinary, writeBinarygetBooleanConverter, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverterprivate static final StrokeBorderPaintConverter STROKE_BORDER_PAINT_CONVERTER
public static StrokeBorderPaintConverter 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