java.lang.Object
com.itextpdf.kernel.pdf.canvas.parser.clipper.ClipperBase
All Implemented Interfaces:
IClipper
Direct Known Subclasses:
DefaultClipper

public abstract class ClipperBase extends Object implements IClipper
  • 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, IClipper.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, IClipper.PolyType polyType, boolean Closed)
      Specified by:
      addPath in interface IClipper
    • addPaths

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

      public void clear()
      Specified by:
      clear in interface IClipper
    • 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()