Class Type5ShadingContext

All Implemented Interfaces:
PaintContext

class Type5ShadingContext extends GouraudShadingContext
AWT PaintContext for Gouraud Triangle Lattice (Type 5) shading.
  • Field Details

    • LOG

      private static final org.apache.commons.logging.Log LOG
  • Constructor Details

    • Type5ShadingContext

      Type5ShadingContext(PDShadingType5 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 - if something went wrong