You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by prashant mangate <pr...@gmail.com> on 2011/01/26 13:47:08 UTC
Set Color Opacity
hi,
I have PDF where i am adding rectangle.
PDPageContentStream contentStream = new PDPageContentSt(..);
contentStream.setNonStrokingColor(Color.RED);
contentStream.fillRect(111f,49f,112f,38f);
But i want to set opacity for the color, Please help;
--
Thanks & regards
Prashant Mangate (プロシャント・マングテ)
Software Engineer
Softbridge Solutions (India) Pvt Ltd
Unit #103, Tower #S4 Cybercity
Magarpatta City, Hadapsar, Pune 411028
Mobile: (91) 9421685015
Email: prashant.m@softbridge-s.com URL: www.softbridge-s.com
Set Color Opacity
Posted by prashant mangate <pr...@gmail.com>.
hi,
I have PDF where i am adding rectangle.
PDPageContentStream contentStream = new PDPageContentSt(..);
contentStream.setNonStrokingColor(Color.RED);
contentStream.fillRect(111f,49f,112f,38f);
But i want to set opacity for the color, Please help;
--
Thanks & regards
Prashant Mangate