public class EyesImagesScreenshot extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.applitools.eyes.Region |
bounds |
protected BufferedImage |
image |
| Constructor and Description |
|---|
EyesImagesScreenshot(BufferedImage image)
|
EyesImagesScreenshot(BufferedImage image,
com.applitools.eyes.Location location) |
| Modifier and Type | Method and Description |
|---|---|
protected com.applitools.eyes.Location |
convertLocation(com.applitools.eyes.Location location,
com.applitools.eyes.CoordinatesType from,
com.applitools.eyes.CoordinatesType to) |
protected com.applitools.eyes.Region |
convertRegionLocation(com.applitools.eyes.Region arg0,
com.applitools.eyes.CoordinatesType arg1,
com.applitools.eyes.CoordinatesType arg2) |
BufferedImage |
getImage() |
protected com.applitools.eyes.Region |
getIntersectedRegion(com.applitools.eyes.Region arg0,
com.applitools.eyes.CoordinatesType arg1) |
protected com.applitools.eyes.Region |
getIntersectedRegion(com.applitools.eyes.Region region,
com.applitools.eyes.CoordinatesType originalCoordinatesType,
com.applitools.eyes.CoordinatesType resultCoordinatesType) |
com.applitools.eyes.Location |
getLocationInScreenshot(com.applitools.eyes.Location location,
com.applitools.eyes.CoordinatesType coordinatesType) |
com.applitools.eyes.EyesScreenshot |
getSubScreenshot(com.applitools.eyes.Region region,
com.applitools.eyes.CoordinatesType coordinatesType,
boolean throwIfClipped) |
protected com.applitools.eyes.Region bounds
protected BufferedImage image
public EyesImagesScreenshot(BufferedImage image, com.applitools.eyes.Location location)
image - The screenshot image.location - The top/left coordinates of the screenshot in context
relative coordinates type.public EyesImagesScreenshot(BufferedImage image)
image - The screenshot image.public com.applitools.eyes.EyesScreenshot getSubScreenshot(com.applitools.eyes.Region region,
com.applitools.eyes.CoordinatesType coordinatesType,
boolean throwIfClipped)
protected com.applitools.eyes.Location convertLocation(com.applitools.eyes.Location location,
com.applitools.eyes.CoordinatesType from,
com.applitools.eyes.CoordinatesType to)
public com.applitools.eyes.Location getLocationInScreenshot(com.applitools.eyes.Location location,
com.applitools.eyes.CoordinatesType coordinatesType)
throws com.applitools.eyes.OutOfBoundsException
com.applitools.eyes.OutOfBoundsExceptionprotected com.applitools.eyes.Region getIntersectedRegion(com.applitools.eyes.Region region,
com.applitools.eyes.CoordinatesType originalCoordinatesType,
com.applitools.eyes.CoordinatesType resultCoordinatesType)
public BufferedImage getImage()
protected com.applitools.eyes.Region getIntersectedRegion(com.applitools.eyes.Region arg0,
com.applitools.eyes.CoordinatesType arg1)
protected com.applitools.eyes.Region convertRegionLocation(com.applitools.eyes.Region arg0,
com.applitools.eyes.CoordinatesType arg1,
com.applitools.eyes.CoordinatesType arg2)
Copyright © 2016. All rights reserved.