| Package | Description |
|---|---|
| com.applitools.eyes |
| Modifier and Type | Field and Description |
|---|---|
static Location |
Location.ZERO |
| Modifier and Type | Method and Description |
|---|---|
Location |
Region.getLocation()
Gets location.
|
Location |
IRegion.getLocation() |
Location |
Region.getMiddleOffset()
Gets middle offset.
|
Location |
Region.getNegativeLocation()
Gets negative location.
|
Location |
Location.offset(int dx,
int dy)
Get a location translated by the specified amount.
|
Location |
Location.offset(Location amount)
Get a location translated by the specified amount.
|
Location |
Location.scale(double scaleRatio)
Get a scaled location.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Region.contains(Location location)
Check if a specified location is contained within this region.
|
Region |
Region.offset(Location location)
Get an offset region.
|
Location |
Location.offset(Location amount)
Get a location translated by the specified amount.
|
void |
Region.setLocation(Location location)
Set the (top,left) position of the current region
|
| Constructor and Description |
|---|
Location(Location other)
Creates a location from another location instance.
|
Region(Location location,
RectangleSize size)
Instantiates a new Region.
|
Region(Location location,
RectangleSize size,
CoordinatesType coordinatesType)
Instantiates a new Region.
|
Copyright © 2023. All rights reserved.