| Package | Description |
|---|---|
| com.applitools.eyes |
| Modifier and Type | Field and Description |
|---|---|
static Location |
Location.ZERO |
| Modifier and Type | Method and Description |
|---|---|
abstract Location |
EyesScreenshot.convertLocation(Location location,
CoordinatesType from,
CoordinatesType to)
Converts a location's coordinates with the
from coordinates type
to the to coordinates type. |
Location |
Region.getLocation() |
abstract Location |
EyesScreenshot.getLocationInScreenshot(Location location,
CoordinatesType coordinatesType)
Calculates the location in the screenshot of the location given as
parameter.
|
Location |
Region.getMiddleOffset() |
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.
|
abstract Location |
EyesScreenshot.convertLocation(Location location,
CoordinatesType from,
CoordinatesType to)
Converts a location's coordinates with the
from coordinates type
to the to coordinates type. |
abstract Location |
EyesScreenshot.getLocationInScreenshot(Location location,
CoordinatesType coordinatesType)
Calculates the location in the screenshot of the location given as
parameter.
|
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) |
Region(Location location,
RectangleSize size,
CoordinatesType coordinatesType) |
Copyright © 2017. All rights reserved.