Package com.applitools.eyes.positioning
Class RegionProvider
- java.lang.Object
-
- com.applitools.eyes.positioning.RegionProvider
-
public class RegionProvider extends Object
Encapsulates a getRegion "callback" and how the region's coordinates should be used.
-
-
Field Summary
Fields Modifier and Type Field Description static RegionProviderNULL_INSTANCE
-
Constructor Summary
Constructors Constructor Description RegionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.applitools.eyes.RegiongetRegion()com.applitools.eyes.RegiongetRegion(ICheckSettingsInternal settings)
-
-
-
Field Detail
-
NULL_INSTANCE
public static final RegionProvider NULL_INSTANCE
-
-
Method Detail
-
getRegion
public com.applitools.eyes.Region getRegion(ICheckSettingsInternal settings)
- Returns:
- A region with "as is" viewport coordinates.
-
getRegion
public com.applitools.eyes.Region getRegion()
-
-