Generated by
JDiff

com.itextpdf.kernel.pdf.canvas.parser.clipper Documentation Differences

This file contains all the changes in documentation in the package com.itextpdf.kernel.pdf.canvas.parser.clipper as colored differences. Deletions are shown like this , and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a tag will cause all subsequent paragraphs to be displayed differently.

Class ClipperBridge

This class contains variety of methods allowing to convert iText abstractions into the abstractions of the Clipper library and vise versa.

For example:

Class ClipperBridge, List addPath(ClipperOffset, Path, JoinType, EndType)

Adds all iText Subpaths of the iText com.itextpdf.kernel.geom.Path to the ClipperOffset object with one note: it doesn't add degenerate subpaths. @return java.util.List consisting of all degenerate iText Subpaths of the path.
Class ClipperBridge, void addPath(IClipper, Path, PolyType)

Adds iText com.itextpdf.kernel.geom.Path to the given IClipper object. @param clipper The IClipper object. @param path The com.itextpdf.kernel.geom.Path object to be added to the IClipper. @param polyType See IClipper.PolyType.
Class ClipperBridge, boolean addPolygonToClipper(IClipper, Point[], PolyType)

Builds Adds a Path polygon instance path based on array of com.itextpdf.kernel.geom.Point (internally converting them by .convertToLongPoints) and adds this path to IClipper instance, treating the path as a closed polygon.

The return value will be false if the path is invalid for clipping. A path is invalid for clipping when:

@param clipper IClipper instance to which the created polygon path will be added. @param polyVertices an array of com.itextpdf.kernel.geom.Point which will be internally converted to Path clipper path and added to the clipper instance. @param polyType either IClipper.PolyType.SUBJECT or IClipper.PolyType.CLIP denoting whether added path is a subject of clipping or a part of the clipping polygon. @return true if polygon path was successfully added, false otherwise.
Class ClipperBridge, boolean addPolylineSubjectToClipper(IClipper, Point[])

Builds Adds a Path polyline instance path based on array of com.itextpdf.kernel.geom.Point (internally converting them by .convertToLongPoints) and adds this path to IClipper instance, treating the path as a polyline (an open path in terms of clipper library). This path is added to the subject of future clipping. Polylines cannot be part of clipping polygon.

The return value will be false if the path is invalid for clipping. A path is invalid for clipping when:

@param clipper IClipper instance to which the created polyline path will be added. @param lineVertices an array of com.itextpdf.kernel.geom.Point which will be internally converted to Path clipper path and added to the clipper instance. @return true if polyline path was successfully added, false otherwise.