Class Type7ShadingContext

All Implemented Interfaces:
PaintContext

class Type7ShadingContext extends PatchMeshesShadingContext
AWT PaintContext for tensor-product patch meshes (type 7) shading. This was done as part of GSoC2014, Tilman Hausherr is the mentor.
  • Constructor Details

    • Type7ShadingContext

      Type7ShadingContext(PDShadingType7 shading, ColorModel colorModel, 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
      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
      deviceBounds - device bounds
      Throws:
      IOException - if something went wrong