| Package | Description |
|---|---|
| com.applitools.eyes |
| Modifier and Type | Method and Description |
|---|---|
RectangleSize |
AppEnvironment.getDisplaySize()
Gets the display size of the application or
null if unknown. |
RectangleSize |
Region.getSize() |
static RectangleSize |
RectangleSize.parse(String size)
Parses a string into a {link RectangleSize} instance.
|
RectangleSize |
RectangleSize.scale(double scaleRatio)
Get a scaled version of the current size.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<Region> |
Region.getSubRegions(RectangleSize subRegionSize)
|
Iterable<Region> |
Region.getSubRegions(RectangleSize subRegionSize,
boolean isFixedSize)
Returns a list of sub-regions which compose the current region.
|
void |
AppEnvironment.setDisplaySize(RectangleSize size)
Sets the display size of the application or
null if unknown. |
void |
Region.setSize(RectangleSize size) |
| Constructor and Description |
|---|
AppEnvironment(String os,
String hostingApp,
RectangleSize displaySize)
Creates a new AppEnvironment instance.
|
Region(Location location,
RectangleSize size) |
Region(Location location,
RectangleSize size,
CoordinatesType coordinatesType) |
Copyright © 2017. All rights reserved.