com.applitools.eyes.selenium.CssTranslatePositionMemento Maven / Gradle / Ivy
package com.applitools.eyes.selenium;
import com.applitools.eyes.PositionMemento;
import java.util.Map;
/**
* Encapsulates state for {@link CssTranslatePositionProvider} instances.
*/
public 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;
}
}