|
Generated by JDiff |
||||||||
| PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES | |||||||||
This file contains all the changes in documentation in the packagecom.itextpdf.kernel.pdf.canvas.parser.clipperas colored differences. Deletions are shownlike 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.
This class contains variety of methods allowing to convert iText abstractions into the abstractions of the Clipper library and vise versa.Class ClipperBridge, ListFor example:
- PolyTree to com.itextpdf.kernel.geom.Path
- com.itextpdf.kernel.geom.Point to Point.LongPoint
- Point.LongPoint to com.itextpdf.kernel.geom.Point
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)
Class ClipperBridge, boolean addPolylineSubjectToClipper(IClipper, Point[])BuildsAddsa Pathpolygoninstancepath 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
- it has less than 3 vertices;
- the vertices are all co-linear.
Pathclipper 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.
BuildsAddsa Pathpolylineinstancepath 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
- it has less than 2 vertices;
Pathclipper path and added to the clipper instance. @return true if polyline path was successfully added, false otherwise.