Enum Class SVGProperty

java.lang.Object
java.lang.Enum<SVGProperty>
com.openhtmltopdf.css.constants.SVGProperty
All Implemented Interfaces:
Serializable, Comparable<SVGProperty>, 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/
  • Enum Constant Details

    • 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
  • Field Details

    • _set

      private static final Set<String> _set
  • Constructor Details

    • SVGProperty

      private SVGProperty()
  • Method Details

    • values

      public static SVGProperty[] 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

      public static SVGProperty valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • properties

      public static Set<String> properties()