com.lowagie.text.pdf.codec.postscript
Class PAContext
java.lang.Object
com.lowagie.text.pdf.codec.postscript.PAContext
- public class PAContext
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pencil
public PAPencil pencil
dictionaries
public Stack dictionaries
operands
public Stack operands
engine
public PAEngine engine
poorscript
PAParser poorscript
randomNumberGenerator
protected Random randomNumberGenerator
is
InputStream is
lastUnknownIdentifier
protected Object lastUnknownIdentifier
IgnoreUnknownCommands
public static boolean IgnoreUnknownCommands
DebugExecution
public static boolean DebugExecution
PAContext
public PAContext(Component component)
PAContext
public PAContext(Graphics2D g,
Dimension size)
PAContext
public PAContext(PAPencil pencil)
draw
public void draw(InputStream inputStream)
throws PainterException
- draw
- Parameters:
inputStream
- InputStream
- Throws:
PainterException
getLastUnknownIdentifier
public Object getLastUnknownIdentifier()
popNumberOperands
public double[] popNumberOperands(int n)
throws PainterException
- Throws:
PainterException
popOperands
public Object[] popOperands(int n)
throws PainterException
- Throws:
PainterException
peekOperand
public Object peekOperand()
throws PainterException
- Throws:
PainterException
findIdentifier
public Object findIdentifier(Object identifier)
findDictionary
public Object findDictionary(Object identifier)
collectArray
public void collectArray()
throws PainterException
- Throws:
PainterException
collectDict
public void collectDict()
throws PainterException
- Throws:
PainterException
constructGlobalDict
protected HashMap constructGlobalDict()
constructUserDict
protected HashMap constructUserDict()
main
public static void main(String[] args)
constructSystemDict
protected HashMap constructSystemDict()