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

com.applitools.eyes.CssTranslatePositionMemento Maven / Gradle / Ivy

There is a newer version: 2.57
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy