public class PdfCleanUpLocation extends Object
Constructor and Description |
---|
PdfCleanUpLocation(int page, com.itextpdf.kernel.geom.Rectangle region)
Constructs a PdfCleanUpLocation object.
|
PdfCleanUpLocation(int page, com.itextpdf.kernel.geom.Rectangle region, com.itextpdf.kernel.colors.Color cleanUpColor)
Constructs a PdfCleanUpLocation object.
|
Modifier and Type | Method and Description |
---|---|
com.itextpdf.kernel.colors.Color |
getCleanUpColor()
Returns a color used to fill the area after erasing it.
|
int |
getPage() |
com.itextpdf.kernel.geom.Rectangle |
getRegion() |
public PdfCleanUpLocation(int page, com.itextpdf.kernel.geom.Rectangle region)
PdfCleanUpLocation
object.
page
- specifies the number of the page which the region belongs to.
region
- represents the boundaries of the area to be erased.
public PdfCleanUpLocation(int page, com.itextpdf.kernel.geom.Rectangle region, com.itextpdf.kernel.colors.Color cleanUpColor)
PdfCleanUpLocation
object.
page
- specifies the number of the page which the region belongs to.
region
- represents the boundaries of the area to be erased.
cleanUpColor
- a color used to fill the area after erasing it. If null
the erased area left uncolored.
public int getPage()
public com.itextpdf.kernel.geom.Rectangle getRegion()
Rectangle
representing the boundaries of the area to be erased.
public com.itextpdf.kernel.colors.Color getCleanUpColor()
null
the erased area left uncolored.
Copyright © 1998–2021 iText Group NV. All rights reserved.