Class Type1ShadingContext

java.lang.Object
org.apache.pdfbox.pdmodel.graphics.shading.ShadingContext
org.apache.pdfbox.pdmodel.graphics.shading.Type1ShadingContext
All Implemented Interfaces:
PaintContext

class Type1ShadingContext extends ShadingContext implements PaintContext
AWT PaintContext for function-based (Type 1) shading.
  • Field Details

    • LOG

      private static final org.apache.commons.logging.Log LOG
    • type1ShadingType

      private PDShadingType1 type1ShadingType
    • rat

      private AffineTransform rat
    • domain

      private final float[] domain
  • Constructor Details

    • Type1ShadingContext

      Type1ShadingContext(PDShadingType1 shading, ColorModel colorModel, AffineTransform xform, Matrix matrix) throws IOException
      Constructor creates an instance to be used for fill operations.
      Parameters:
      shading - the shading type to be used
      colorModel - the color model to be used
      xform - transformation for user to device space
      matrix - the pattern matrix concatenated with that of the parent content stream
      Throws:
      IOException
  • Method Details