Simple. Thank you, Tilman.
-----Original Message-----
From: Tilman Hausherr [mailto:[email protected]]
Sent: Monday, September 14, 2015 10:20 AM
To: [email protected]
Subject: Re: Using PDColor in PDFBox 2.0.0
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: [email protected]
For additional commands, e-mail: [email protected]