Class PolyNode
- java.lang.Object
-
- com.itextpdf.text.pdf.parser.clipper.PolyNode
-
- Direct Known Subclasses:
PolyTree
public class PolyNode extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
PolyNode.NodeType
-
Constructor Summary
Constructors Constructor Description PolyNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(PolyNode child)
int
getChildCount()
java.util.List<PolyNode>
getChilds()
java.util.List<Point.LongPoint>
getContour()
Clipper.EndType
getEndType()
Clipper.JoinType
getJoinType()
PolyNode
getNext()
private PolyNode
getNextSiblingUp()
PolyNode
getParent()
Path
getPolygon()
boolean
isHole()
private boolean
isHoleNode()
boolean
isOpen()
void
setEndType(Clipper.EndType value)
void
setJoinType(Clipper.JoinType value)
void
setOpen(boolean isOpen)
void
setParent(PolyNode n)
-
-
-
Field Detail
-
parent
private PolyNode parent
-
polygon
private final Path polygon
-
index
private int index
-
joinType
private Clipper.JoinType joinType
-
endType
private Clipper.EndType endType
-
childs
protected final java.util.List<PolyNode> childs
-
isOpen
private boolean isOpen
-
-
Method Detail
-
addChild
public void addChild(PolyNode child)
-
getChildCount
public int getChildCount()
-
getChilds
public java.util.List<PolyNode> getChilds()
-
getContour
public java.util.List<Point.LongPoint> getContour()
-
getEndType
public Clipper.EndType getEndType()
-
getJoinType
public Clipper.JoinType getJoinType()
-
getNext
public PolyNode getNext()
-
getNextSiblingUp
private PolyNode getNextSiblingUp()
-
getParent
public PolyNode getParent()
-
getPolygon
public Path getPolygon()
-
isHole
public boolean isHole()
-
isHoleNode
private boolean isHoleNode()
-
isOpen
public boolean isOpen()
-
setEndType
public void setEndType(Clipper.EndType value)
-
setJoinType
public void setJoinType(Clipper.JoinType value)
-
setOpen
public void setOpen(boolean isOpen)
-
setParent
public void setParent(PolyNode n)
-
-