pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adriaan Joubert <adriaan...@gmail.com>
Subject Gradient paint
Date Tue, 15 Jul 2014 18:44:24 GMT

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

Does anybody have a small example of how to draw a gradient, or give me any
idea of how to proceed?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message