[
https://issues.apache.org/jira/browse/PDFBOX-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14550197#comment-14550197
]
Jesse Long commented on PDFBOX-2764:
------------------------------------
Thanks!
> Allow setting extended graphics state in PDPageContentStream
> ------------------------------------------------------------
>
> Key: PDFBOX-2764
> URL: https://issues.apache.org/jira/browse/PDFBOX-2764
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Jesse Long
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.0
>
>
> I use PDExtendedGraphicsState to draw with transparency. For this to work, I
> register the extended graphics state, then call
> PDPageContentStream.appendRawCommands("/name gs\n");
> appendRawCommands() has been deprecated in 2.0.0. I need a way of doing this,
> so please either un-deprecate appendRawCommands(), or add something like:
> {code}
> public void setExtendedGraphicsState(PDExtendedGraphicsState state)
> {
> COSName egsName = resources.add(state);
> writeOperand(egsName);
> writeOperator("gs");
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]