org.icepdf.core.pobjects.graphics.commands
Class PostScriptEncoder
java.lang.Object
org.icepdf.core.pobjects.graphics.commands.PostScriptEncoder
public class PostScriptEncoder
- extends java.lang.Object
The PostScriptEncoder is responsible for converting an ArrayList
into postscript operands. Basically the reverse of what the content
parser does.
NOTE: this is currently a partial implementation to vac
- Since:
- 5.0
|
Method Summary |
static byte[] |
generatePostScript(java.util.ArrayList<DrawCmd> drawCmds)
Processes the given DrawCmd objects and generates the PostScript to
draw simple shapes and text. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
generatePostScript
public static byte[] generatePostScript(java.util.ArrayList<DrawCmd> drawCmds)
- Processes the given DrawCmd objects and generates the PostScript to
draw simple shapes and text.
- Parameters:
drawCmds - commands to convert to postscript.
- Returns:
- byte[] of PostScript notation.