Hi, I need to draw an axial gradient with PdfBox, but have not found an example of how to do this. I'm using pdfbox 1.8.6.
I need to add a PDFunctionType2, but this always takes a dictionary - which suggests that this is only implemented for reading documents? I somehow need to create a PDShadingType2 so that I can initialise an AxialShadingPaint. Does anybody have a small example of how to draw a gradient, or give me any idea of how to proceed? Thanks, Adriaan

