FileDocCategorySizeDatePackage
Text.javaAPI DocExample509Mon Jul 03 20:16:02 BST 2000com.darwinsys.spdf

Text

public class Text extends PDFObject
Represent one Text object in a PDF file.

Fields Summary
protected int
x
protected int
y
protected String
text
Constructors Summary
public Text(PDF m, String s)

		super(m);
		text = s;
	
Methods Summary
public voidprint()

		throw new IllegalStateException("print() called on a Text obj");
	
public voidprint(java.lang.StringBuffer sb)

		sb.append("0 -18 Td (");
		sb.append(text);	// TODO must substitute escaped characters
		sb.append(") Tj\n");