Package com.itextpdf.text.pdf.parser
Interface ExtRenderListener
-
- All Superinterfaces:
RenderListener
- All Known Implementing Classes:
PdfCleanUpRenderListener
public interface ExtRenderListener extends RenderListener
Simply extends theRenderListener
interface to provide additional methods.- Since:
- 5.5.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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.Path
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 Detail
-
modifyPath
void modifyPath(PathConstructionRenderInfo renderInfo)
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
Path renderPath(PathPaintingRenderInfo renderInfo)
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
-
-