Enum 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/
    • Field Detail

      • _set

        private static final java.util.Set<java.lang.String> _set
    • Constructor Detail

      • SVGProperty

        private SVGProperty()
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • properties

        public static java.util.Set<java.lang.String> properties()