RenderListener
public interface ExtRenderListener extends RenderListener
RenderListener
interface to provide
additional 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.
|
beginTextBlock, endTextBlock, renderImage, renderText
void modifyPath(PathConstructionRenderInfo renderInfo)
renderInfo
- Contains information about the path segment being added to the current path.Path renderPath(PathPaintingRenderInfo renderInfo)
renderInfo
- Contains information about the current path which should be rendered.void clipPath(int rule)
rule
- Either PathPaintingRenderInfo.EVEN_ODD_RULE
or PathPaintingRenderInfo.NONZERO_WINDING_RULE
Copyright © 1998–2018. All rights reserved.