Class CoonsPatch

java.lang.Object
org.apache.pdfbox.pdmodel.graphics.shading.Patch
org.apache.pdfbox.pdmodel.graphics.shading.CoonsPatch

class CoonsPatch extends Patch
This class is used to describe a patch for type 6 shading. This was done as part of GSoC2014, Tilman Hausherr is the mentor.
  • Constructor Details

    • CoonsPatch

      protected CoonsPatch(Point2D[] points, float[][] color)
      Constructor of a patch for type 6 shading.
      Parameters:
      points - 12 control points
      color - 4 corner colors
  • Method Details