Package com.openhtmltopdf.css.constants
Enum SVGProperty
- All Implemented Interfaces:
Serializable,Comparable<SVGProperty>,java.lang.constant.Constable
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/
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description CLIPCLIP_PATHCLIP_RULEFILLFILL_OPACITYFILL_RULEFILTERMARKERMARKER_ENDMARKER_MIDMARKER_STARTMASKSTOP_COLORSTOP_OPACITYSTROKESTROKE_DASHARRAYSTROKE_DASHOFFSETSTROKE_LINECAPSTROKE_LINEJOINSTROKE_MITERLIMITSTROKE_OPACITYSTROKE_WIDTH -
Method Summary
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 Details
-
CLIP
-
CLIP_PATH
-
CLIP_RULE
-
MASK
-
FILTER
-
STOP_COLOR
-
STOP_OPACITY
-
FILL
-
FILL_RULE
-
FILL_OPACITY
-
MARKER
-
MARKER_START
-
MARKER_MID
-
MARKER_END
-
STROKE
-
STROKE_DASHARRAY
-
STROKE_DASHOFFSET
-
STROKE_LINECAP
-
STROKE_LINEJOIN
-
STROKE_MITERLIMIT
-
STROKE_OPACITY
-
STROKE_WIDTH
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
properties
-