Re: [iText-questions] GradientPaint & Transparency

2009-04-10 Thread Alchemy
ding(shading); > > cb.setColorFill( Color.RED ); > cb.rectangle( 0, 0, 100, 100 ); > cb.fill(); > > > That'll get you in the right ballpark. You might need to mess with > the shading's axis, or swap BLACK & WHITE to get the direction right. > > --Mar

Re: [iText-questions] GradientPaint & Transparency

2009-04-09 Thread Alchemy
used as an SOFT MASK? Thanks in advance, Karl On 2009/04/09, at 15:07, Alchemy wrote: > >>>> When drawing to Java Graphics2D It seems like iText does not > support > >>>> GradientPaint gradients with transparency? > >>> You're right, I don&#

Re: [iText-questions] GradientPaint & Transparency

2009-04-08 Thread Alchemy
is the best way to implement this functionality using Graphics2D? Either with a workaround in the application or by extending iText itself. Thank you again for your time! I really appreciate it. Best, Karl - Alchemy An open drawing project http://al.chemy.org - --

Re: [iText-questions] GradientPaint & Transparency

2009-04-04 Thread Alchemy
Thanks for the prompt reply. On 2009/04/04, at 20:40, 1T3XT info wrote: > Alchemy wrote: >> When drawing to Java Graphics2D It seems like iText does not support >> GradientPaint gradients with transparency? > > You're right, I don't think that's supported.

[iText-questions] GradientPaint & Transparency

2009-04-03 Thread Alchemy
Hi all, I have been happily using itext for some time now but have recently come across a small issue. When drawing to Java Graphics2D It seems like iText does not support GradientPaint gradients with transparency? For example please take a look at this image showing the different output: ht