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 Mon, 31 Jan 2011 07:24:03 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

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