pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prashant mangate <prashant.mang...@gmail.com>
Subject Set Color Opacity
Date Wed, 26 Jan 2011 12:47:08 GMT
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

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