pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: Using PDColor in PDFBox 2.0.0
Date Mon, 14 Sep 2015 15:20:07 GMT
Am 14.09.2015 um 16:36 schrieb Kevin Ternes:
> I do not see how to instate a PDColor.  In particular, what goes in to the PDColorSpace
field of the constructor?
> For example:
>
> float[] greenComponents = {0, 1, 0};
> ColorSpace colorSpace = ????
> PDColor pdColorGreen = new PDColor(greenComponents, colorSpace);

PDColor green = new PDColor(new float[] { 0, 1, 0 }, PDDeviceRGB.INSTANCE);



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message