Package com.openhtmltopdf.css.constants
Enum SVGProperty
- java.lang.Object
-
- java.lang.Enum<SVGProperty>
-
- com.openhtmltopdf.css.constants.SVGProperty
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SVGProperty>
public enum SVGProperty extends java.lang.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 CLIP
CLIP_PATH
CLIP_RULE
FILL
FILL_OPACITY
FILL_RULE
FILTER
MARKER
MARKER_END
MARKER_MID
MARKER_START
MASK
SHAPE_RENDERING
STOP_COLOR
STOP_OPACITY
STROKE
STROKE_DASHARRAY
STROKE_DASHOFFSET
STROKE_LINECAP
STROKE_LINEJOIN
STROKE_MITERLIMIT
STROKE_OPACITY
STROKE_WIDTH
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Set<java.lang.String>
_set
-
Constructor Summary
Constructors Modifier Constructor Description private
SVGProperty()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<java.lang.String>
properties()
static SVGProperty
valueOf(java.lang.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(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
properties
public static java.util.Set<java.lang.String> properties()
-
-