com.applitools.eyes.universal.dto.TextRegionDto 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.universal.dto;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
* @author Kanan
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TextRegionDto {
private int x;
private int y;
private int width;
private int height;
private String text;
public TextRegionDto() {
}
public TextRegionDto(int x, int y, int width, int height, String text) {
this.x = x;
this.y = y;
this.width = width;
this.height = height;
this.text = text;
}
public int getX() {
return x;
}
public void setX(int x) {
this.x = x;
}
public int getY() {
return y;
}
public void setY(int y) {
this.y = y;
}
public int getWidth() {
return width;
}
public void setWidth(int width) {
this.width = width;
}
public int getHeight() {
return height;
}
public void setHeight(int height) {
this.height = height;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
@Override
public String toString() {
return "TextRegion{" +
"x=" + x +
", y=" + y +
", width=" + width +
", height=" + height +
", text='" + text + '\'' +
'}';
}
}