Enum Class SvgGranularity

java.lang.Object
java.lang.Enum<SvgGranularity>
com.deltaxml.htmlcompare.SvgGranularity
All Implemented Interfaces:
Serializable, Comparable<SvgGranularity>, Constable

public enum SvgGranularity extends Enum<SvgGranularity>

Specifies the granularity at which the differences between the two SVG images will be represented from the comparison.

  • Enum Constant Details

    • ADJACENT

      public static final SvgGranularity ADJACENT

      Reports the differences to the SVG by repeating A and B SVG inputs adjacent to each other.

    • DETAILED_ADJACENT

      public static final SvgGranularity DETAILED_ADJACENT

      Reports the differences to the SVG by repeating the A and B SVG inputs adjacent to each other, with individual changes highlighted with bounding boxes.

  • Method Details

    • values

      public static SvgGranularity[] 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 SvgGranularity 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
    • value

      public String value()