public class FixedScaleProvider extends Object implements ScaleProvider
| Constructor and Description |
|---|
FixedScaleProvider(double scaleRatio) |
FixedScaleProvider(double scaleRatio,
ScaleMethod method) |
| Modifier and Type | Method and Description |
|---|---|
ScaleMethod |
getScaleMethod() |
double |
getScaleRatio() |
public FixedScaleProvider(double scaleRatio,
ScaleMethod method)
scaleRatio - The scale ratio to use.method - The method used for scaling the image.public FixedScaleProvider(double scaleRatio)
scaleRatio - The scale ratio to use.public double getScaleRatio()
getScaleRatio in interface ScaleProviderpublic ScaleMethod getScaleMethod()
getScaleMethod in interface ScaleProviderCopyright © 2016. All rights reserved.