Randall Parker wrote:

<snip/>

I'd check the javadocs if I could only find them to download (see my previous post). But why isn't this version of the constructor not publically accessible? Is it supposed to be?

The constructors defined in Graphics2D are:

public PDFGraphics2D(PDFGraphics2D g) {

/**
 * Create a new PDFGraphics2D with the given pdf document info.
 * This is used to create a Graphics object for use inside an already
 * existing document.
 *
 * @param textAsShapes if true then draw text as shapes
 * @param fi the current font information
 * @param doc the pdf document for creating pdf objects
 * @param page the current resource context or page
 * @param pref the PDF reference of the current page
 * @param font the current font name
 * @param size the current font size
 */
public PDFGraphics2D(boolean textAsShapes, Document fi, PDFDocument doc,
       PDFResourceContext page, String pref, String font, float size) {


What makes you think PDFGraphics2D should have a constructor with just a boolean argument? What is it you are trying to achieve?


Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to