Class Type4ShadingContext

All Implemented Interfaces:
PaintContext

class Type4ShadingContext extends GouraudShadingContext
AWT PaintContext for Gouraud Triangle Mesh (Type 4) shading.
  • Field Details

    • LOG

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

      private final int bitsPerFlag
  • Constructor Details

    • Type4ShadingContext

      Type4ShadingContext(PDShadingType4 shading, ColorModel cm, AffineTransform xform, Matrix matrix, Rectangle deviceBounds) throws IOException
      Constructor creates an instance to be used for fill operations.
      Parameters:
      shading - the shading type to be used
      cm - 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