public class PdfCleanUpLocation extends Object
Constructor and Description |
---|
PdfCleanUpLocation(int page, Rectangle region)
Constructs a PdfCleanUpLocation object.
|
PdfCleanUpLocation(int page, Rectangle region, BaseColor cleanUpColor)
Constructs a PdfCleanUpLocation object.
|
Modifier and Type | Method and Description |
---|---|
BaseColor |
getCleanUpColor()
Returns a color used to fill the area after erasing it.
|
int |
getPage() |
Rectangle |
getRegion() |
public PdfCleanUpLocation(int page, 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, Rectangle region, BaseColor 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 Rectangle getRegion()
Rectangle
representing the boundaries of the area to be erased.
public BaseColor getCleanUpColor()
null
the erased area left uncolored.
Copyright © 1998–2018. All rights reserved.