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 classPolyNode.NodeType
-
Constructor Summary
Constructors Constructor Description PolyNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(PolyNode child)intgetChildCount()java.util.List<PolyNode>getChilds()java.util.List<Point.LongPoint>getContour()Clipper.EndTypegetEndType()Clipper.JoinTypegetJoinType()PolyNodegetNext()private PolyNodegetNextSiblingUp()PolyNodegetParent()PathgetPolygon()booleanisHole()private booleanisHoleNode()booleanisOpen()voidsetEndType(Clipper.EndType value)voidsetJoinType(Clipper.JoinType value)voidsetOpen(boolean isOpen)voidsetParent(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)
-
-