Class Type7ShadingContext

  • All Implemented Interfaces:
    java.awt.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 Detail

      • Type7ShadingContext

        Type7ShadingContext​(PDShadingType7 shading,
                            java.awt.image.ColorModel colorModel,
                            java.awt.geom.AffineTransform xform,
                            Matrix matrix,
                            java.awt.Rectangle deviceBounds)
                     throws java.io.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:
        java.io.IOException - if something went wrong