| Package | Description |
|---|---|
| com.itextpdf.layout.element | |
| com.itextpdf.layout.property | |
| com.itextpdf.layout.renderer.objectfit |
| Modifier and Type | Method and Description |
|---|---|
ObjectFit |
Image.getObjectFit()
Retrieves the
ObjectFit mode for the image. |
| Modifier and Type | Method and Description |
|---|---|
Image |
Image.setObjectFit(ObjectFit objectFit)
Sets an object-fit mode for the image.
|
| Modifier and Type | Method and Description |
|---|---|
static ObjectFit |
ObjectFit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectFit[] |
ObjectFit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static ObjectFitApplyingResult |
ObjectFitCalculator.calculateRenderedImageSize(ObjectFit objectFit,
double absoluteImageWidth,
double absoluteImageHeight,
double imageContainerWidth,
double imageContainerHeight)
Calculates size of image to be render when certain
ObjectFit mode is
applied. |
Copyright © 1998–2020 iText Group NV. All rights reserved.