pdffont-ag凯发旗舰厅
com.spire.pdf.graphics
class pdffont
java.lang.object
com.spire.pdf.graphics.pdffontbase
com.spire.pdf.graphics.pdffont
- all implemented interfaces:
- ipdfwrapper
public class pdffont
- extends pdffontbase
represents one of the 14 standard pdf fonts.
methods inherited from class com.spire.pdf.graphics.pdffontbase |
getbold, getheight, getitalic, getname, getsize, getstrikeout, getstyle, getunderline, measurestring, measurestring, measurestring, measurestring, measurestring |
pdffont
public pdffont(pdffontfamily fontfamily,
float size)
- initializes a new instance of the class.
- parameters:
fontfamily
- the font family.size
- the size.
pdffont
public pdffont(pdffontfamily fontfamily,
float size,
pdffontstyle style)
- initializes a new instance of the class.
- parameters:
fontfamily
- the font family.size
- the size.style
- the style.
pdffont
public pdffont(pdffontfamily fontfamily,
float size,
java.util.enumset<pdffontstyle> style)
- initializes a new instance of the class.
- parameters:
fontfamily
- the font family.size
- the size.style
- the style.
pdffont
public pdffont(pdffont prototype,
float size)
- initializes a new instance of the class.
- parameters:
prototype
- the prototype.size
- the size.
pdffont
public pdffont(pdffont prototype,
float size,
java.util.enumset<pdffontstyle> style)
- initializes a new instance of the class.
- parameters:
prototype
- the prototype.size
- the size.style
- the style.
getfontfamily
public pdffontfamily getfontfamily()
- gets the fontfamily.