Uses of Class
com.itextpdf.layout.properties.ObjectFit
-
Packages that use ObjectFit Package Description com.itextpdf.layout.element com.itextpdf.layout.properties com.itextpdf.layout.renderer com.itextpdf.layout.renderer.objectfit -
-
Uses of ObjectFit in com.itextpdf.layout.element
Methods in com.itextpdf.layout.element that return ObjectFit Modifier and Type Method Description ObjectFit
Image. getObjectFit()
Retrieves theObjectFit
mode for the image.Methods in com.itextpdf.layout.element with parameters of type ObjectFit Modifier and Type Method Description Image
Image. setObjectFit(ObjectFit objectFit)
Sets an object-fit mode for the image. -
Uses of ObjectFit in com.itextpdf.layout.properties
Methods in com.itextpdf.layout.properties that return ObjectFit Modifier and Type Method Description static ObjectFit
ObjectFit. valueOf(java.lang.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. -
Uses of ObjectFit in com.itextpdf.layout.renderer
Methods in com.itextpdf.layout.renderer with parameters of type ObjectFit Modifier and Type Method Description private void
ImageRenderer. applyObjectFit(ObjectFit objectFit, float imageWidth, float imageHeight)
-
Uses of ObjectFit in com.itextpdf.layout.renderer.objectfit
Methods in com.itextpdf.layout.renderer.objectfit with parameters of type ObjectFit Modifier and Type Method Description static ObjectFitApplyingResult
ObjectFitCalculator. calculateRenderedImageSize(ObjectFit objectFit, double absoluteImageWidth, double absoluteImageHeight, double imageContainerWidth, double imageContainerHeight)
Calculates size of image to be render when certainObjectFit
mode is applied.
-