Class ImageMatchSettings


  • public class ImageMatchSettings
    extends Object
    Encapsulates match settings for the session.
    • Field Detail

      • enablePatterns

        public boolean enablePatterns
      • ignoreDisplacements

        public boolean ignoreDisplacements
    • Method Detail

      • getMatchLevel

        public MatchLevel getMatchLevel()
        Returns:
        The "strictness" level of the match.
      • setMatchLevel

        public void setMatchLevel​(MatchLevel matchLevel)
        Parameters:
        matchLevel - The "strictness" level of the match.
      • getExact

        public ExactMatchSettings getExact()
        Returns:
        The parameters for the "Exact" match settings.
      • setExact

        public void setExact​(ExactMatchSettings exact)
        Parameters:
        exact - The parameters for the "exact" match settings.
      • getIgnoreCaret

        public Boolean getIgnoreCaret()
        Returns:
        The parameters for the "IgnoreCaret" match settings.
      • isUseDom

        public boolean isUseDom()
      • setUseDom

        public void setUseDom​(boolean useDom)
      • setIgnoreRegions

        public void setIgnoreRegions​(com.applitools.eyes.Region[] ignoreRegions)
        Sets an array of regions to ignore.
        Parameters:
        ignoreRegions - The array of regions to ignore.
      • setLayoutRegions

        public void setLayoutRegions​(com.applitools.eyes.Region[] layoutRegions)
        Sets an array of regions to check using the Layout method.
        Parameters:
        layoutRegions - The array of regions to ignore.
      • setStrictRegions

        public void setStrictRegions​(com.applitools.eyes.Region[] strictRegions)
        Sets an array of regions to check using the Strict method.
        Parameters:
        strictRegions - The array of regions to ignore.
      • setContentRegions

        public void setContentRegions​(com.applitools.eyes.Region[] contentRegions)
        Sets an array of regions to check using the Content method.
        Parameters:
        contentRegions - The array of regions to ignore.
      • getIgnoreRegions

        public com.applitools.eyes.Region[] getIgnoreRegions()
        Returns the array of regions to ignore.
        Returns:
        the array of regions to ignore.
      • getStrictRegions

        public com.applitools.eyes.Region[] getStrictRegions()
        Returns the array of regions to check using the Strict method.
        Returns:
        the array of regions to check using the Strict method.
      • getLayoutRegions

        public com.applitools.eyes.Region[] getLayoutRegions()
        Returns the array of regions to check using the Layout method.
        Returns:
        the array of regions to check using the Layout method.
      • getContentRegions

        public com.applitools.eyes.Region[] getContentRegions()
        Returns the array of regions to check using the Content method.
        Returns:
        the array of regions to check using the Content method.
      • setFloatingRegions

        public void setFloatingRegions​(FloatingMatchSettings[] floatingRegions)
        Sets an array of floating regions.
        Parameters:
        floatingRegions - The array of floating regions.
      • getFloatingRegions

        public FloatingMatchSettings[] getFloatingRegions()
        Returns an array of floating regions.
        Returns:
        an array of floating regions.
      • setIgnoreCaret

        public void setIgnoreCaret​(Boolean ignoreCaret)
        Parameters:
        ignoreCaret - The parameters for the "ignoreCaret" match settings.
      • isEnablePatterns

        public boolean isEnablePatterns()
      • setEnablePatterns

        public void setEnablePatterns​(boolean enablePatterns)
      • setIgnoreDisplacements

        public void setIgnoreDisplacements​(boolean ignoreDisplacements)
      • isIgnoreDisplacements

        public boolean isIgnoreDisplacements()
      • setAccessibilitySettings

        public void setAccessibilitySettings​(AccessibilitySettings accessibilitySettings)