All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.applitools.eyes.visualgrid.model.EmulationDevice Maven / Gradle / Ivy

There is a newer version: 5.69.0
Show newest version
package com.applitools.eyes.visualgrid.model;

public class EmulationDevice extends EmulationBaseInfo{

    private int width;
    private int height;
    private double deviceScaleFactor;

    public EmulationDevice(int width, int height, double deviceScaleFactor, ScreenOrientation screenOrientation) {
        super(screenOrientation);
        this.width = width;
        this.height = height;
        this.deviceScaleFactor = deviceScaleFactor;
    }

    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 double getDeviceScaleFactor() {
        return deviceScaleFactor;
    }

    public void setDeviceScaleFactor(float deviceScaleFactor) {
        this.deviceScaleFactor = deviceScaleFactor;
    }

    @Override
    public String getDeviceName() {
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy