Package com.openhtmltopdf.css.constants
Enum Class SVGProperty
- All Implemented Interfaces:
Serializable
,Comparable<SVGProperty>
,Constable
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 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SVGProperty
Returns the enum constant of this class with the specified name.static SVGProperty[]
values()
Returns an array containing the constants of this enum class, 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
-
SHAPE_RENDERING
-
-
Field Details
-
_set
-
-
Constructor Details
-
SVGProperty
private SVGProperty()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
properties
-