Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.graphics » [javadoc | source]
public class: PDFontSetting [javadoc | source]

All Implemented Interfaces:

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?
 public PDFontSetting() 
 public PDFontSetting(COSArray fs) 
    Constructs a font setting from an existing array.
    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() 
 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.