Package com.applitools.eyes
Class ImageMatchSettings
java.lang.Object
com.applitools.eyes.ImageMatchSettings
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionImageMatchSettings(MatchLevel matchLevel, ExactMatchSettings exact, boolean useDom) -
Method Summary
Modifier and TypeMethodDescriptioncom.applitools.eyes.Region[]Returns the array of regions to check using the Content method.getExact()Returns an array of floating regions.com.applitools.eyes.Region[]Returns the array of regions to ignore.com.applitools.eyes.Region[]Returns the array of regions to check using the Layout method.com.applitools.eyes.Region[]Returns the array of regions to check using the Strict method.booleanbooleanbooleanisUseDom()voidsetAccessibility(AccessibilityRegionByRectangle[] accessibilityValidation) voidsetAccessibilitySettings(AccessibilitySettings accessibilitySettings) voidsetContentRegions(com.applitools.eyes.Region[] contentRegions) Sets an array of regions to check using the Content method.voidsetEnablePatterns(boolean enablePatterns) voidsetExact(ExactMatchSettings exact) voidsetFloatingRegions(FloatingMatchSettings[] floatingRegions) Sets an array of floating regions.voidsetIgnoreCaret(Boolean ignoreCaret) voidsetIgnoreDisplacements(boolean ignoreDisplacements) voidsetIgnoreRegions(com.applitools.eyes.Region[] ignoreRegions) Sets an array of regions to ignore.voidsetLayoutRegions(com.applitools.eyes.Region[] layoutRegions) Sets an array of regions to check using the Layout method.voidsetMatchLevel(MatchLevel matchLevel) voidsetStrictRegions(com.applitools.eyes.Region[] strictRegions) Sets an array of regions to check using the Strict method.voidsetUseDom(boolean useDom) toString()
-
Field Details
-
enablePatterns
public boolean enablePatterns -
ignoreDisplacements
public boolean ignoreDisplacements
-
-
Constructor Details
-
ImageMatchSettings
-
ImageMatchSettings
public ImageMatchSettings()SeeImageMatchSettings(MatchLevel, ExactMatchSettings, boolean).matchLeveldefaults toSTRICT,exactdefaults tonull. -
ImageMatchSettings
-
-
Method Details
-
getMatchLevel
- Returns:
- The "strictness" level of the match.
-
setMatchLevel
- Parameters:
matchLevel- The "strictness" level of the match.
-
getExact
- Returns:
- The parameters for the "Exact" match settings.
-
setExact
- Parameters:
exact- The parameters for the "exact" match settings.
-
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
Sets an array of floating regions.- Parameters:
floatingRegions- The array of floating regions.
-
getFloatingRegions
Returns an array of floating regions.- Returns:
- an array of floating regions.
-
setIgnoreCaret
- Parameters:
ignoreCaret- The parameters for the "ignoreCaret" match settings.
-
toString
-
isEnablePatterns
public boolean isEnablePatterns() -
setEnablePatterns
public void setEnablePatterns(boolean enablePatterns) -
setIgnoreDisplacements
public void setIgnoreDisplacements(boolean ignoreDisplacements) -
isIgnoreDisplacements
public boolean isIgnoreDisplacements() -
setAccessibility
-
getAccessibilitySettings
-
setAccessibilitySettings
-
getAccessibility
-