Jesse Long created PDFBOX-2764:
----------------------------------

             Summary: 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
            Priority: Minor


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:

public void setExtendedGraphicsState(PDExtendedGraphicsState state)
{
    COSName egsName = resources.add(state);
    writeOperand(egsName);
    writeOperator("gs");
}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to