com.itextpdf.text.pdf.parser
Interface ExtRenderListener

All Superinterfaces:
RenderListener

public interface ExtRenderListener
extends RenderListener

Simply extends the RenderListener interface to provide additional methods.

Since:
5.5.6

Method Summary
 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 modifying.
 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 modifying. 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


Copyright © 2015. All Rights Reserved.