You can use non opaque colors but images will allways be 100% opaque.
There are other options depending on how you do the shading. 

> -----Original Message-----
> From: Todd Harris [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, January 13, 2005 3:54 PM
> To: Paulo Soares
> Cc: Itext List
> Subject: Re: [iText-questions] plotting graphs
> 
> When I do this, is there any way to draw an area that is not 
> 100% opaque?
> Currently I'm shading an area and when I switch over to using the
> createGraphics
> to get a Graphics2D object I wind up with this solid greay area that I
> can't see through.
> Todd
> 
> On Tue, 11 Jan 2005 22:47:39 -0000, Paulo Soares 
> <[EMAIL PROTECTED]> wrote:
> > Use PdfContentByte.createGraphics() instead. Have a look at
> > http://prdownloads.sourceforge.net/jfreechart/jfreechart2pdf-v2.pdf
> > 
> > ----- Original Message -----
> > From: "Todd Harris" <[EMAIL PROTECTED]>
> > To: "Itext List" <[email protected]>
> > Sent: Tuesday, January 11, 2005 8:40 PM
> > Subject: Re: [iText-questions] plotting graphs
> > 
> > > Okay so I looked at the code more(some of this isn't 
> mine).  What we
> > > are doing is using a buffered image bi, creating a Graphics2D g =
> > > bi.createGraphics();
> > > drawChart(g) //which is using drawPolyline
> > > return com.lowagie.text.Image.getInstance(bi, null);
> > >
> > > and then using doc.add(Image); on the image that is returned.
> > >
> > >
> > > -------------------------------------------------------
> > > The SF.Net email is sponsored by: Beat the post-holiday blues
> > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> > > It's fun and FREE -- well, 
> almost....http://www.thinkgeek.com/sfshirt
> > > _______________________________________________
> > > iText-questions mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > 
> >
> 


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to