Package com.itextpdf.text.pdf.parser
Interface ExtRenderListener
- All Superinterfaces:
RenderListener
- All Known Implementing Classes:
PdfCleanUpRenderListener
Simply extends the
RenderListener
interface to provide
additional methods.
- Since:
- 5.5.6
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clipPath
(int rule) Called when the current path should be set as a new clipping path.void
modifyPath
(PathConstructionRenderInfo renderInfo) Called when the current path is being modified.renderPath
(PathPaintingRenderInfo renderInfo) Called when the current path should be rendered.Methods inherited from interface com.itextpdf.text.pdf.parser.RenderListener
beginTextBlock, endTextBlock, renderImage, renderText
-
Method Details
-
modifyPath
Called when the current path is being modified. E.g. new segment is being added, new subpath is being started etc.- Parameters:
renderInfo
- Contains information about the path segment being added to the current path.
-
renderPath
Called when the current path should be rendered.- Parameters:
renderInfo
- Contains information about the current path which should be rendered.- Returns:
- The path which can be used as a new clipping path.
-
clipPath
void clipPath(int rule) Called when the current path should be set as a new clipping path.- Parameters:
rule
- EitherPathPaintingRenderInfo.EVEN_ODD_RULE
orPathPaintingRenderInfo.NONZERO_WINDING_RULE
-