public class UnscaledFixedCutProvider extends Object implements CutProvider
| Constructor and Description |
|---|
UnscaledFixedCutProvider(int header,
int footer,
int left,
int right) |
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
cut(BufferedImage image) |
CutProvider |
scale(double scaleRatio)
Get a scaled version of the cut provider.
|
public UnscaledFixedCutProvider(int header,
int footer,
int left,
int right)
header - The header to cut in pixels.footer - The footer to cut in pixels.left - The left to cut in pixels.right - The right to cut in pixels.public BufferedImage cut(BufferedImage image)
cut in interface CutProviderimage - The image to cut.public CutProvider scale(double scaleRatio)
CutProviderscale in interface CutProviderscaleRatio - The ratio by which to scale the current cut parameters.Copyright © 2017. All rights reserved.