public class BorderStyleConverter extends StyleConverterImpl<ParsedValue[],BorderStrokeStyle>
Modifier and Type | Field and Description |
---|---|
static ParsedValueImpl<ParsedValue[],Number[]> |
DASHED |
static ParsedValueImpl<ParsedValue[],Number[]> |
DOTTED |
static ParsedValueImpl<ParsedValue[],Number[]> |
HIDDEN |
static ParsedValueImpl<ParsedValue[],Number[]> |
NONE |
static ParsedValueImpl<ParsedValue[],Number[]> |
SOLID |
Modifier and Type | Method and Description |
---|---|
BorderStrokeStyle |
convert(ParsedValue<ParsedValue[],BorderStrokeStyle> value,
Font font)
Convert from the parsed CSS value to the target property type.
|
static BorderStyleConverter |
getInstance() |
String |
toString() |
cacheValue, convert, getCachedValue, readBinary, writeBinary
getBooleanConverter, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter
public static final ParsedValueImpl<ParsedValue[],Number[]> NONE
public static final ParsedValueImpl<ParsedValue[],Number[]> HIDDEN
public static final ParsedValueImpl<ParsedValue[],Number[]> DOTTED
public static final ParsedValueImpl<ParsedValue[],Number[]> DASHED
public static final ParsedValueImpl<ParsedValue[],Number[]> SOLID
public static BorderStyleConverter getInstance()
public BorderStrokeStyle convert(ParsedValue<ParsedValue[],BorderStrokeStyle> value, Font font)
StyleConverter
convert
in class StyleConverter<ParsedValue[],BorderStrokeStyle>
value
- The ParsedValue
to convertfont
- The Font
to use when converting a
relative
value.Copyright © 2020. All rights reserved.