| 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. |
Region |
EyesScreenshot.getIntersectedRegion(Region region,
CoordinatesType coordinatesType)
Get the intersection of the given region with the screenshot.
|
abstract Region |
EyesScreenshot.getIntersectedRegion(Region region,
CoordinatesType originalCoordinatesType,
CoordinatesType resultCoordinatesType)
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.
|
abstract EyesScreenshot |
EyesScreenshot.getSubScreenshot(Region region,
CoordinatesType coordinatesType,
boolean throwIfClipped)
Returns a part of the screenshot based on the given region.
|
| Constructor and Description |
|---|
Region(int left,
int top,
int width,
int height,
CoordinatesType coordinatesType) |
Region(Location location,
RectangleSize size,
CoordinatesType coordinatesType) |
Copyright © 2017. All rights reserved.