public class ImageMatchSettings extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
enablePatterns |
boolean |
ignoreDisplacements |
| Constructor and Description |
|---|
ImageMatchSettings()
|
ImageMatchSettings(ImageMatchSettings other) |
ImageMatchSettings(MatchLevel matchLevel,
ExactMatchSettings exact,
boolean useDom) |
| Modifier and Type | Method and Description |
|---|---|
AccessibilityRegionByRectangle[] |
getAccessibility() |
AccessibilitySettings |
getAccessibilitySettings() |
Region[] |
getContentRegions()
Returns the array of regions to check using the Content method.
|
ExactMatchSettings |
getExact() |
FloatingMatchSettings[] |
getFloatingRegions()
Returns an array of floating regions.
|
Boolean |
getIgnoreCaret() |
Region[] |
getIgnoreRegions()
Returns the array of regions to ignore.
|
Region[] |
getLayoutRegions()
Returns the array of regions to check using the Layout method.
|
MatchLevel |
getMatchLevel() |
Region[] |
getStrictRegions()
Returns the array of regions to check using the Strict method.
|
boolean |
isEnablePatterns() |
boolean |
isIgnoreDisplacements() |
boolean |
isUseDom() |
void |
setAccessibility(AccessibilityRegionByRectangle[] accessibilityValidation) |
void |
setAccessibilitySettings(AccessibilitySettings accessibilitySettings) |
void |
setContentRegions(Region[] contentRegions)
Sets an array of regions to check using the Content method.
|
void |
setEnablePatterns(boolean enablePatterns) |
void |
setExact(ExactMatchSettings exact) |
void |
setFloatingRegions(FloatingMatchSettings[] floatingRegions)
Sets an array of floating regions.
|
void |
setIgnoreCaret(Boolean ignoreCaret) |
void |
setIgnoreDisplacements(boolean ignoreDisplacements) |
void |
setIgnoreRegions(Region[] ignoreRegions)
Sets an array of regions to ignore.
|
void |
setLayoutRegions(Region[] layoutRegions)
Sets an array of regions to check using the Layout method.
|
void |
setMatchLevel(MatchLevel matchLevel) |
void |
setStrictRegions(Region[] strictRegions)
Sets an array of regions to check using the Strict method.
|
void |
setUseDom(boolean useDom) |
String |
toString() |
public boolean enablePatterns
public boolean ignoreDisplacements
public ImageMatchSettings(MatchLevel matchLevel, ExactMatchSettings exact, boolean useDom)
public ImageMatchSettings()
ImageMatchSettings(MatchLevel, ExactMatchSettings, boolean).
matchLevel defaults to STRICT,
exact defaults to null.public ImageMatchSettings(ImageMatchSettings other)
public MatchLevel getMatchLevel()
public void setMatchLevel(MatchLevel matchLevel)
matchLevel - The "strictness" level of the match.public ExactMatchSettings getExact()
public void setExact(ExactMatchSettings exact)
exact - The parameters for the "exact" match settings.public Boolean getIgnoreCaret()
public boolean isUseDom()
public void setUseDom(boolean useDom)
public void setIgnoreRegions(Region[] ignoreRegions)
ignoreRegions - The array of regions to ignore.public void setLayoutRegions(Region[] layoutRegions)
layoutRegions - The array of regions to ignore.public void setStrictRegions(Region[] strictRegions)
strictRegions - The array of regions to ignore.public void setContentRegions(Region[] contentRegions)
contentRegions - The array of regions to ignore.public Region[] getIgnoreRegions()
public Region[] getStrictRegions()
public Region[] getLayoutRegions()
public Region[] getContentRegions()
public void setFloatingRegions(FloatingMatchSettings[] floatingRegions)
floatingRegions - The array of floating regions.public FloatingMatchSettings[] getFloatingRegions()
public void setIgnoreCaret(Boolean ignoreCaret)
ignoreCaret - The parameters for the "ignoreCaret" match settings.public boolean isEnablePatterns()
public void setEnablePatterns(boolean enablePatterns)
public void setIgnoreDisplacements(boolean ignoreDisplacements)
public boolean isIgnoreDisplacements()
public void setAccessibility(AccessibilityRegionByRectangle[] accessibilityValidation)
public AccessibilitySettings getAccessibilitySettings()
public void setAccessibilitySettings(AccessibilitySettings accessibilitySettings)
public AccessibilityRegionByRectangle[] getAccessibility()
Copyright © 2022. All rights reserved.