Constructor and Description |
---|
ObjectFitApplyingResult()
Creates a new instance of the class with default values.
|
ObjectFitApplyingResult(double renderedImageWidth, double renderedImageHeight, boolean imageCuttingRequired)
Creates a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
double |
getRenderedImageHeight()
Getter for height of rendered image.
|
double |
getRenderedImageWidth()
Getter for width of rendered image.
|
boolean |
isImageCuttingRequired()
Getter for a boolean value showing if at least one dimension of rendered image is greater than expected image size.
|
void |
setImageCuttingRequired(boolean imageCuttingRequired)
Setter for a boolean value showing if at least one dimension of rendered image is greater than expected image size.
|
void |
setRenderedImageHeight(double renderedImageHeight)
Setter for height of rendered image.
|
void |
setRenderedImageWidth(double renderedImageWidth)
Setter for width of rendered image.
|
public ObjectFitApplyingResult()
public ObjectFitApplyingResult(double renderedImageWidth, double renderedImageHeight, boolean imageCuttingRequired)
renderedImageWidth
- is a width of the image to render
renderedImageHeight
- is a height of the image to render
imageCuttingRequired
- is a flag showing if rendered image should be clipped as its size is greater than size of the image container
public double getRenderedImageWidth()
public void setRenderedImageWidth(double renderedImageWidth)
renderedImageWidth
- is a new width of rendered image
public double getRenderedImageHeight()
public void setRenderedImageHeight(double renderedImageHeight)
renderedImageHeight
- is a new height of rendered image
public boolean isImageCuttingRequired()
public void setImageCuttingRequired(boolean imageCuttingRequired)
imageCuttingRequired
- is a new value of the cutting-required flag
Copyright © 1998–2022 iText Group NV. All rights reserved.