public class PageAreaFilter extends RedactionFilter
Represents redaction filter, setting an area within a page of a document to apply redaction.
Learn more
| Constructor and Description |
|---|
PageAreaFilter(Point topLeft,
Dimension size)
Initializes a new instance of PageAreaFilter class for redacting specific area.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
getRectangle()
Gets the rectangle (top-left position and size of the area) on a page.
|
boolean |
isInTheArea(Rectangle rectangle)
Checks if this filter area has intersection with given rectangle.
|
public final Rectangle getRectangle()
Gets the rectangle (top-left position and size of the area) on a page.
public final boolean isInTheArea(Rectangle rectangle)
Checks if this filter area has intersection with given rectangle.
rectangle - Rectangle to checkCopyright © 2025. All rights reserved.