Interface ExtRenderListener

All Superinterfaces:
RenderListener
All Known Implementing Classes:
PdfCleanUpRenderListener

public interface ExtRenderListener extends RenderListener
Simply extends the RenderListener interface to provide additional methods.
Since:
5.5.6
  • Method Details

    • 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 - Either PathPaintingRenderInfo.EVEN_ODD_RULE or PathPaintingRenderInfo.NONZERO_WINDING_RULE