com.caucho.quercus.lib.pdf
Class PDFFont

java.lang.Object
  extended by com.caucho.quercus.lib.pdf.PDFObject
      extended by com.caucho.quercus.lib.pdf.PDFFont

public class PDFFont
extends PDFObject

pdf object oriented API facade


Method Summary
 boolean equals(java.lang.Object o)
           
 double getAscender()
           
 double getAvgCharWidth()
           
 double getCapHeight()
           
 double getDescender()
           
 java.lang.String getFontName()
           
 java.lang.String getFontStyle()
           
 int getId()
          Returns the object id.
 double getMaxCharWidth()
           
 java.lang.String getPDFName()
           
 int hashCode()
           
 double stringWidth(java.lang.String text)
           
 java.lang.String toString()
           
 void writeObject(PDFWriter out)
          Writes the object to the stream
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getId

public int getId()
Description copied from class: PDFObject
Returns the object id.

Specified by:
getId in class PDFObject

getFontName

public java.lang.String getFontName()

getFontStyle

public java.lang.String getFontStyle()

getAscender

public double getAscender()

getCapHeight

public double getCapHeight()

getDescender

public double getDescender()

stringWidth

public double stringWidth(java.lang.String text)

getAvgCharWidth

public double getAvgCharWidth()

getMaxCharWidth

public double getMaxCharWidth()

getPDFName

public java.lang.String getPDFName()

writeObject

public void writeObject(PDFWriter out)
                 throws java.io.IOException
Description copied from class: PDFObject
Writes the object to the stream

Specified by:
writeObject in class PDFObject
Throws:
java.io.IOException

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object