| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.graphics.PdfFontBase
com.spire.pdf.graphics.PdfFont
public class PdfFont
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 | 
|---|
public PdfFont(PdfFontFamily fontFamily,
               float size)
fontFamily - The font family.size - The size.
public PdfFont(PdfFontFamily fontFamily,
               float size,
               PdfFontStyle style)
fontFamily - The font family.size - The size.style - The style.
public PdfFont(PdfFontFamily fontFamily,
               float size,
               java.util.EnumSet<PdfFontStyle> style)
fontFamily - The font family.size - The size.style - The style.
public PdfFont(PdfFont prototype,
               float size)
prototype - The prototype.size - The size.
public PdfFont(PdfFont prototype,
               float size,
               java.util.EnumSet<PdfFontStyle> style)
prototype - The prototype.size - The size.style - The style.| Method Detail | 
|---|
public PdfFontFamily getFontFamily()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||