com.applitools.eyes.fluent.SimpleRegionByRectangle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-sdk-core-java5 Show documentation
Show all versions of eyes-sdk-core-java5 Show documentation
Applitools Eyes SDK base for Java
package com.applitools.eyes.fluent;
import com.applitools.eyes.Padding;
import com.applitools.eyes.Region;
import com.fasterxml.jackson.annotation.JsonProperty;
public class SimpleRegionByRectangle implements GetRegion {
private final Region region;
private final Padding padding;
public SimpleRegionByRectangle(Region region) {
this.region = region;
this.padding = new Padding();
}
public SimpleRegionByRectangle(Region region, Padding padding) {
this.region = region;
this.padding = padding;
}
@JsonProperty("region")
public Region getRegion() {
return region;
}
public Padding getPadding() { return this.padding; }
}