Package com.applitools.eyes.scaling
Class FixedScaleProvider
java.lang.Object
com.applitools.eyes.scaling.FixedScaleProvider
- All Implemented Interfaces:
ScaleProvider
- Direct Known Subclasses:
NullScaleProvider
Scale provider based on a fixed scale ratio.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FixedScaleProvider
public FixedScaleProvider(com.applitools.eyes.Logger logger, double scaleRatio) - Parameters:
scaleRatio- The scale ratio to use.
-
-
Method Details
-
getScaleRatio
public double getScaleRatio()- Specified by:
getScaleRatioin interfaceScaleProvider- Returns:
- The ratio by which an image will be scaled.
-