Uses of Class
com.itextpdf.layout.properties.BackgroundImage
-
Packages that use BackgroundImage Package Description com.itextpdf.layout com.itextpdf.layout.properties com.itextpdf.layout.renderer -
-
Uses of BackgroundImage in com.itextpdf.layout
Methods in com.itextpdf.layout with parameters of type BackgroundImage Modifier and Type Method Description T
ElementPropertyContainer. setBackgroundImage(BackgroundImage image)
Specifies a background image for the Element.Method parameters in com.itextpdf.layout with type arguments of type BackgroundImage Modifier and Type Method Description T
ElementPropertyContainer. setBackgroundImage(java.util.List<BackgroundImage> imagesList)
Specifies a list of background images for the Element. -
Uses of BackgroundImage in com.itextpdf.layout.properties
Methods in com.itextpdf.layout.properties that return BackgroundImage Modifier and Type Method Description BackgroundImage
BackgroundImage.Builder. build()
Builds newBackgroundImage
using set fields.Constructors in com.itextpdf.layout.properties with parameters of type BackgroundImage Constructor Description BackgroundImage(BackgroundImage backgroundImage)
Creates a copy of passedBackgroundImage
instance. -
Uses of BackgroundImage in com.itextpdf.layout.renderer
Methods in com.itextpdf.layout.renderer with parameters of type BackgroundImage Modifier and Type Method Description private static void
BackgroundSizeCalculationUtil. calculateBackgroundHeight(UnitValue height, float areaHeight, boolean scale, BackgroundImage image, java.lang.Float[] widthAndHeight)
static float[]
BackgroundSizeCalculationUtil. calculateBackgroundImageSize(BackgroundImage image, float areaWidth, float areaHeight)
Calculates width and height values for image with a given area params.private static BackgroundSize
BackgroundSizeCalculationUtil. calculateBackgroundSizeForArea(BackgroundImage image, float areaWidth, float areaHeight)
private static void
BackgroundSizeCalculationUtil. calculateBackgroundWidth(UnitValue width, float areaWidth, boolean scale, BackgroundImage image, java.lang.Float[] widthAndHeight)
private void
AbstractRenderer. drawBackgroundImage(BackgroundImage backgroundImage, DrawContext drawContext, Rectangle backgroundArea)
private static void
AbstractRenderer. drawPdfXObject(Rectangle imageRectangle, BackgroundImage backgroundImage, DrawContext drawContext, PdfXObject backgroundXObject, Rectangle backgroundArea, Rectangle originBackgroundArea)
private static void
AbstractRenderer. drawPdfXObjectHorizontally(Rectangle imageRectangle, BackgroundImage backgroundImage, DrawContext drawContext, PdfXObject backgroundXObject, Rectangle backgroundArea, boolean firstDraw, float xWhitespace)
private static void
BackgroundSizeCalculationUtil. scaleHeight(float newHeight, BackgroundImage image, java.lang.Float[] imageWidthAndHeight)
private static void
BackgroundSizeCalculationUtil. scaleWidth(float newWidth, BackgroundImage image, java.lang.Float[] imageWidthAndHeight)
private static void
BackgroundSizeCalculationUtil. setDefaultSizeIfNull(java.lang.Float[] widthAndHeight, float areaWidth, float areaHeight, BackgroundImage image, boolean isGradient)
Method parameters in com.itextpdf.layout.renderer with type arguments of type BackgroundImage Modifier and Type Method Description private boolean
AbstractRenderer. drawBackgroundImagesList(java.util.List<BackgroundImage> backgroundImagesList, boolean backgroundAreaIsClipped, DrawContext drawContext, Rectangle backgroundArea)
-