Package com.openhtmltopdf.css.constants
Enum SVGProperty
- java.lang.Object
-
- java.lang.Enum<SVGProperty>
-
- com.openhtmltopdf.css.constants.SVGProperty
-
- All Implemented Interfaces:
Serializable,Comparable<SVGProperty>
public enum SVGProperty extends Enum<SVGProperty>
This is a partial list of common SVG properties that are not present in the HTML renderer of this project. This list is here so we can suppress warnings for these properties. List from: https://css-tricks.com/svg-properties-and-css/
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIPCLIP_PATHCLIP_RULEFILLFILL_OPACITYFILL_RULEFILTERMARKERMARKER_ENDMARKER_MIDMARKER_STARTMASKSHAPE_RENDERINGSTOP_COLORSTOP_OPACITYSTROKESTROKE_DASHARRAYSTROKE_DASHOFFSETSTROKE_LINECAPSTROKE_LINEJOINSTROKE_MITERLIMITSTROKE_OPACITYSTROKE_WIDTH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<String>properties()static SVGPropertyvalueOf(String name)Returns the enum constant of this type with the specified name.static SVGProperty[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLIP
public static final SVGProperty CLIP
-
CLIP_PATH
public static final SVGProperty CLIP_PATH
-
CLIP_RULE
public static final SVGProperty CLIP_RULE
-
MASK
public static final SVGProperty MASK
-
FILTER
public static final SVGProperty FILTER
-
STOP_COLOR
public static final SVGProperty STOP_COLOR
-
STOP_OPACITY
public static final SVGProperty STOP_OPACITY
-
FILL
public static final SVGProperty FILL
-
FILL_RULE
public static final SVGProperty FILL_RULE
-
FILL_OPACITY
public static final SVGProperty FILL_OPACITY
-
MARKER
public static final SVGProperty MARKER
-
MARKER_START
public static final SVGProperty MARKER_START
-
MARKER_MID
public static final SVGProperty MARKER_MID
-
MARKER_END
public static final SVGProperty MARKER_END
-
STROKE
public static final SVGProperty STROKE
-
STROKE_DASHARRAY
public static final SVGProperty STROKE_DASHARRAY
-
STROKE_DASHOFFSET
public static final SVGProperty STROKE_DASHOFFSET
-
STROKE_LINECAP
public static final SVGProperty STROKE_LINECAP
-
STROKE_LINEJOIN
public static final SVGProperty STROKE_LINEJOIN
-
STROKE_MITERLIMIT
public static final SVGProperty STROKE_MITERLIMIT
-
STROKE_OPACITY
public static final SVGProperty STROKE_OPACITY
-
STROKE_WIDTH
public static final SVGProperty STROKE_WIDTH
-
SHAPE_RENDERING
public static final SVGProperty SHAPE_RENDERING
-
-
Method Detail
-
values
public static SVGProperty[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SVGProperty c : SVGProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SVGProperty valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-