Is this a new feature? I was using version 1.8.13 and couldn't find it. I
guess I'll need to switch to version 2.x.x ...

On Tue, Jan 24, 2017 at 11:35 PM, Tilman Hausherr <[email protected]>
wrote:

> Am 24.01.2017 um 23:26 schrieb Gilad Denneboom:
>
>> Thanks again, but I'm not seeing any examples on how to use
>> setGraphicsStateParameters (or is it SetGraphicsStateParameters?) in this
>> context... Could you help me out?
>>
>
> You just call PDPageContentStream.setGraphicsStateParameters() with the
> variable.
>
> https://stackoverflow.com/questions/38433534/pdfbox-inconsis
> tent-co-ordinate-system-how-do-i-draw-a-rectangle
> https://stackoverflow.com/questions/39609617/how-to-add-text
> -watermark-to-pdf-in-java-using-apache-pdfbox
> https://stackoverflow.com/questions/40267719/pdfbox-2-1-0-
> when-printed-from-ie11-transparent-text-watermark-has-opaque-ba
>
> Tilman
>
>
>
>> On Tue, Jan 24, 2017 at 11:05 PM, Tilman Hausherr <[email protected]>
>> wrote:
>>
>> Am 24.01.2017 um 22:58 schrieb Gilad Denneboom:
>>>
>>> One other thing: Is it possible to set the text's opacity level?
>>>>
>>>>
>>>              PDExtendedGraphicsState gs0 = new PDExtendedGraphicsState();
>>>              gs0.setNonStrokingAlphaConstant(value);
>>>
>>> then assign this extended graphics state (outside of the text mode) with
>>> setGraphicsStateParameters().
>>>
>>> Tilman
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to