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

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

There is a newer version: 3.11
Show newest version
package com.applitools.eyes;

import java.awt.image.BufferedImage;

/**
 * Encapsulates cutting logic.
 */
public interface CutProvider {

    /**
     *
     * @param image The image to cut.
     * @return A new cut image.
     */
    BufferedImage cut(BufferedImage image);


    /**
     * Get a scaled version of the cut provider.
     *
     * @param scaleRatio The ratio by which to scale the current cut parameters.
     * @return A new scale cut provider instance.
     */
    CutProvider scale(double scaleRatio);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy