Class ClipperBase

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

public abstract class ClipperBase extends Object implements Clipper
  • Field Details

  • Constructor Details

    • ClipperBase

      protected ClipperBase(boolean preserveCollinear)
  • Method Details

    • initEdge

      private static void initEdge(Edge e, Edge eNext, Edge ePrev, Point.LongPoint pt)
    • initEdge2

      private static void initEdge2(Edge e, Clipper.PolyType polyType)
    • rangeTest

      private static boolean rangeTest(Point.LongPoint Pt, boolean useFullRange)
    • removeEdge

      private static Edge removeEdge(Edge e)
    • 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
    • disposeLocalMinimaList

      private void disposeLocalMinimaList()
    • insertLocalMinima

      private void insertLocalMinima(ClipperBase.LocalMinima newLm)
    • isPreserveCollinear

      public boolean isPreserveCollinear()
    • popLocalMinima

      protected void popLocalMinima()
    • processBound

      private Edge processBound(Edge e, boolean LeftBoundIsForward)
    • parseFirstLeft

      protected static Path.OutRec parseFirstLeft(Path.OutRec FirstLeft)
    • reset

      protected void reset()