List of usage examples for com.itextpdf.text.pdf.parser.clipper PolyNode isOpen
boolean isOpen
To view the source code for com.itextpdf.text.pdf.parser.clipper PolyNode isOpen.
Click Source Link
From source file:mkl.testarea.itext5.pdfcleanup.PdfCleanUpRegionFilter.java
License:Open Source License
private static Path convertToPath(PolyTree result) { Path path = new Path(); PolyNode node = result.getFirst(); while (node != null) { addContour(path, node.getContour(), !node.isOpen()); node = node.getNext();/*from w w w . ja v a 2 s.co m*/ } return path; }