com.itextpdf.text.pdf.parser.clipper
Class ClipperBase

java.lang.Object
  extended by com.itextpdf.text.pdf.parser.clipper.ClipperBase
All Implemented Interfaces:
Clipper
Direct Known Subclasses:
DefaultClipper

public abstract class ClipperBase
extends Object
implements Clipper


Nested Class Summary
protected  class ClipperBase.LocalMinima
           
protected  class ClipperBase.Scanbeam
           
 
Nested classes/interfaces inherited from interface com.itextpdf.text.pdf.parser.clipper.Clipper
Clipper.ClipType, Clipper.Direction, Clipper.EndType, Clipper.JoinType, Clipper.PolyFillType, Clipper.PolyType, Clipper.ZFillCallback
 
Field Summary
protected  ClipperBase.LocalMinima currentLM
           
protected  boolean hasOpenPaths
           
protected  ClipperBase.LocalMinima minimaList
           
protected  boolean preserveCollinear
           
 
Fields inherited from interface com.itextpdf.text.pdf.parser.clipper.Clipper
PRESERVE_COLINEAR, REVERSE_SOLUTION, STRICTLY_SIMPLE
 
Constructor Summary
protected ClipperBase(boolean preserveCollinear)
           
 
Method Summary
 boolean addPath(Path pg, Clipper.PolyType polyType, boolean Closed)
           
 boolean addPaths(Paths ppg, Clipper.PolyType polyType, boolean closed)
           
 void clear()
           
 boolean isPreserveCollinear()
           
protected  void popLocalMinima()
           
protected  void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.itextpdf.text.pdf.parser.clipper.Clipper
execute, execute, execute, execute
 

Field Detail

minimaList

protected ClipperBase.LocalMinima minimaList

currentLM

protected ClipperBase.LocalMinima currentLM

hasOpenPaths

protected boolean hasOpenPaths

preserveCollinear

protected final boolean preserveCollinear
Constructor Detail

ClipperBase

protected ClipperBase(boolean preserveCollinear)
Method Detail

addPath

public boolean addPath(Path pg,
                       Clipper.PolyType polyType,
                       boolean Closed)
Specified by:
addPath in interface Clipper

addPaths

public boolean addPaths(Paths ppg,
                        Clipper.PolyType polyType,
                        boolean closed)
Specified by:
addPaths in interface Clipper

clear

public void clear()
Specified by:
clear in interface Clipper

isPreserveCollinear

public boolean isPreserveCollinear()

popLocalMinima

protected void popLocalMinima()

reset

protected void reset()


Copyright © 2015. All Rights Reserved.