| Package | Description |
|---|---|
| com.applitools.eyes |
| Modifier and Type | Field and Description |
|---|---|
static Region |
Region.EMPTY
The constant EMPTY.
|
| Modifier and Type | Method and Description |
|---|---|
Region |
Region.addPadding(Padding padding) |
Region |
Region.expandToContain(Region region)
Expand to contain region.
|
Region |
Region.getIntersected(Region other) |
Region |
Region.offset(int dx,
int dy)
Get an offset region.
|
Region |
IRegion.offset(int dx,
int dy) |
Region |
Region.offset(Location location)
Get an offset region.
|
Region |
Region.regionId(String regionId) |
Region |
Region.scale(double scaleRatio)
Get a region which is a scaled version of the current region.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<Region> |
Region.getSubRegions(RectangleSize subRegionSize)
Gets sub regions.
|
Iterable<Region> |
Region.getSubRegions(RectangleSize subRegionSize,
boolean isFixedSize)
Returns a list of sub-regions which compose the current region.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Region.contains(Region other)
Check if a region is contained within the current region.
|
Region |
Region.expandToContain(Region region)
Expand to contain region.
|
Region |
Region.getIntersected(Region other) |
void |
Region.intersect(Region other)
Replaces this region with the intersection of itself and
other |
boolean |
Region.isIntersected(Region other)
Check if a region is intersected with the current region.
|
Copyright © 2023. All rights reserved.