com.applitools.eyes.CssTranslatePositionMemento Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-selenium-java Show documentation
Show all versions of eyes-selenium-java Show documentation
Applitools Eyes SDK for Selenium Java WebDriver
package com.applitools.eyes;
import java.util.Map;
/**
* Encapsulates state for {@link CssTranslatePositionProvider} instances.
*/
class CssTranslatePositionMemento extends PositionMemento {
private final Map transforms;
/**
*
* @param transforms The current transforms. The keys are the style keys
* from which each of the transforms were taken.
*/
public CssTranslatePositionMemento(Map transforms) {
this.transforms = transforms;
}
/**
*
* @return The current transforms. The keys are the style keys from
* which each of the transforms were taken.
*/
public Map getTransform() {
return transforms;
}
}