| Package | Description |
|---|---|
| com.applitools.eyes |
| Modifier and Type | Method and Description |
|---|---|
CoordinatesType |
Region.getCoordinatesType() |
static CoordinatesType |
CoordinatesType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoordinatesType[] |
CoordinatesType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| 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. |
Region |
EyesScreenshot.convertRegionLocation(Region region,
CoordinatesType from,
CoordinatesType to)
Converts a region's location coordinates with the
from
coordinates type to the to coordinates type. |
abstract Region |
EyesScreenshot.getIntersectedRegion(Region region,
CoordinatesType coordinatesType)
Get the intersection of the given region with the screenshot.
|
abstract Location |
EyesScreenshot.getLocationInScreenshot(Location location,
CoordinatesType coordinatesType)
Calculates the location in the screenshot of the location given as
parameter.
|
void |
Region.setCoordinatesType(CoordinatesType value) |
| Constructor and Description |
|---|
Region(int left,
int top,
int width,
int height,
CoordinatesType coordinatesType) |
Region(Location location,
RectangleSize size,
CoordinatesType coordinatesType) |
Copyright © 2018. All rights reserved.