Save This Page
Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.graphics » [javadoc | source]
org.apache.pdfbox.pdmodel.graphics
public class: PDFontSetting [javadoc | source]
java.lang.Object
   org.apache.pdfbox.pdmodel.graphics.PDFontSetting

All Implemented Interfaces:
    COSObjectable

This class represents a font setting used for the graphics state. A font setting is a font and a font size. Maybe there is a better name for this?
Constructor:
 public PDFontSetting() 
 public PDFontSetting(COSArray fs) 
    Constructs a font setting from an existing array.
    Parameters:
    fs - The new font setting value.
Method from org.apache.pdfbox.pdmodel.graphics.PDFontSetting Summary:
getCOSObject,   getFont,   getFontSize,   setFont,   setFontSize
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.graphics.PDFontSetting Detail:
 public COSBase getCOSObject() 
    {@inheritDoc}
 public PDFont getFont() throws IOException 
    This will get the font for this font setting.
 public float getFontSize() 
    This will get the size of the font.
 public  void setFont(PDFont font) 
    This will set the font for this font setting.
 public  void setFontSize(float size) 
    This will set the size of the font.