pdffont-ag凯发旗舰厅



com.spire.pdf.graphics
class pdffont

java.lang.object
  extended by com.spire.pdf.graphics.pdffontbase
      extended by com.spire.pdf.graphics.pdffont
all implemented interfaces:
ipdfwrapper

public class pdffont
extends pdffontbase

represents one of the 14 standard pdf fonts.


constructor summary
pdffont(pdffontfamily fontfamily, float size)
          initializes a new instance of the class.
pdffont(pdffontfamily fontfamily, float size, java.util.enumset<pdffontstyle> style)
          initializes a new instance of the class.
pdffont(pdffontfamily fontfamily, float size, pdffontstyle style)
          initializes a new instance of the class.
pdffont(pdffont prototype, float size)
          initializes a new instance of the class.
pdffont(pdffont prototype, float size, java.util.enumset<pdffontstyle> style)
          initializes a new instance of the class.
 
method summary
 pdffontfamily getfontfamily()
          gets the fontfamily.
 
methods inherited from class com.spire.pdf.graphics.pdffontbase
getbold, getheight, getitalic, getname, getsize, getstrikeout, getstyle, getunderline, measurestring, measurestring, measurestring, measurestring, measurestring
 
constructor detail

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.
method detail

getfontfamily

public pdffontfamily getfontfamily()
gets the fontfamily.


网站地图