| Package | Description |
|---|---|
| com.foreach.imageserver.dto | |
| com.foreach.imageserver.math |
| Modifier and Type | Method and Description |
|---|---|
AspectRatio |
ImageTransformDto.getAspectRatio()
The aspect ratio that the resulting image should have.
|
| Modifier and Type | Method and Description |
|---|---|
ImageTransformDto.ImageTransformDtoBuilder |
ImageTransformDto.ImageTransformDtoBuilder.aspectRatio(AspectRatio aspectRatio)
The aspect ratio that the resulting image should have.
|
void |
ImageTransformDto.setAspectRatio(AspectRatio aspectRatio)
The aspect ratio that the resulting image should have.
|
| Modifier and Type | Field and Description |
|---|---|
static AspectRatio |
AspectRatio.ONE |
static AspectRatio |
AspectRatio.UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
AspectRatio |
AspectRatio.addInteger(int addend) |
static AspectRatio |
ImageServerConversionUtils.calculateAspectRatio(DimensionsDto dimensions) |
static AspectRatio |
ImageServerConversionUtils.calculateAspectRatio(ImageResolutionDto resolutionDto) |
AspectRatio |
AspectRatio.divideBy(AspectRatio dividor) |
AspectRatio |
AspectRatio.multiplyWith(AspectRatio multiplicator) |
| Modifier and Type | Method and Description |
|---|---|
AspectRatio |
AspectRatio.divideBy(AspectRatio dividor) |
static CropDto |
ImageServerConversionUtils.extendCrop(CropDto original,
AspectRatio aspectRatio)
This will extend an existing crop to match a given aspect ratio.
|
AspectRatio |
AspectRatio.multiplyWith(AspectRatio multiplicator) |
static DimensionsDto |
ImageServerConversionUtils.normalize(DimensionsDto original,
AspectRatio aspectRatio)
Will verify and modify the dimensions so that they match the aspect ratio.
|
static CropDto |
ImageServerConversionUtils.shrinkCrop(CropDto original,
AspectRatio aspectRatio)
This will shrink an existing crop to match a given aspect ratio.
|
Copyright © 2020. All rights reserved.