public final class CleanUpHelperUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static double |
calculatePolygonArea(com.itextpdf.kernel.geom.Point[] vertices) |
static int[] |
getImageRectToClean(com.itextpdf.kernel.geom.Rectangle rect,
int imgWidth,
int imgHeight)
Calculates the coordinates of the image rectangle to clean by the passed
Rectangle,
specifying the area to clean. |
public static int[] getImageRectToClean(com.itextpdf.kernel.geom.Rectangle rect,
int imgWidth,
int imgHeight)
Rectangle,
specifying the area to clean.rect - the Rectangle specifying the area to clean.imgWidth - width of the image to cleanimgHeight - height of the image to cleanpublic static double calculatePolygonArea(com.itextpdf.kernel.geom.Point[] vertices)
Copyright © 1998–2025 Apryse Group NV. All rights reserved.