| Package | Description |
|---|---|
| com.mortennobel.imagescaling | |
| com.mortennobel.imagescaling.experimental |
| Modifier and Type | Method and Description |
|---|---|
static DimensionConstrain |
DimensionConstrain.createAbsolutionDimension(int width,
int height)
Used when the destination size is fixed.
|
static DimensionConstrain |
DimensionConstrain.createMaxDimension(int width,
int height)
Forces the image to keep radio and be keeped within the width and height
|
static DimensionConstrain |
DimensionConstrain.createMaxDimension(int width,
int height,
boolean neverEnlargeImage)
Forces the image to keep radio and be keeped within the width and height.
|
static DimensionConstrain |
DimensionConstrain.createMaxDimensionNoOrientation(int length1,
int length2)
Forces the image to keep radio and be keeped within the width and height.
|
static DimensionConstrain |
DimensionConstrain.createMaxDimensionNoOrientation(int length1,
int length2,
boolean neverEnlargeImage)
Forces the image to keep radio and be keeped within the width and height.
|
static DimensionConstrain |
DimensionConstrain.createRelativeDimension(float fraction)
Used when the destination size is relative to the source.
|
static DimensionConstrain |
DimensionConstrain.createRelativeDimension(float fractionWidth,
float fractionHeight)
Used when the destination size is relative to the source.
|
| Constructor and Description |
|---|
AdvancedResizeOp(DimensionConstrain dimensionConstrain) |
MultiStepRescaleOp(DimensionConstrain dimensionConstain) |
MultiStepRescaleOp(DimensionConstrain dimensionConstain,
Object renderingHintInterpolation) |
ResampleOp(DimensionConstrain dimensionConstrain) |
ThumbnailRescaleOp(DimensionConstrain dimensionConstrain) |
| Constructor and Description |
|---|
ImprovedMultistepRescaleOp(DimensionConstrain dimensionConstain) |
ImprovedMultistepRescaleOp(DimensionConstrain dimensionConstain,
Object renderingHintInterpolation) |
ResampleOpSingleThread(DimensionConstrain dimensionConstrain) |
Copyright © 2014. All rights reserved.