com.applitools.eyes.selenium.positioning.CssTranslatePositionMemento Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-selenium-java4 Show documentation
Show all versions of eyes-selenium-java4 Show documentation
Applitools Eyes SDK for Selenium Java WebDriver
The newest version!
package com.applitools.eyes.selenium.positioning;
import com.applitools.eyes.Location;
import com.applitools.eyes.positioning.PositionMemento;
import java.util.Map;
/**
* Encapsulates state for {@link CssTranslatePositionProvider} instances.
*/
public class CssTranslatePositionMemento extends PositionMemento {
private final Map transforms;
private final Location position;
/**
*
* @param transforms The current transforms. The keys are the style keys
* from which each of the transforms were taken.
*/
public CssTranslatePositionMemento(Map transforms, Location position) {
this.transforms = transforms;
this.position = position;
}
/**
*
* @return The current transforms. The keys are the style keys from
* which each of the transforms were taken.
*/
public Map getTransform() {
return transforms;
}
public Location getPosition() { return position; }
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy