|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.pdf.graphics.fonts.PdfUsedFont
public class PdfUsedFont
Represents the used fonts in a PDF document.
Constructor Summary | |
---|---|
PdfUsedFont(PdfFontBase font,
PdfPageWidget pageWidget)
Initializes a new instance of the class. |
Method Summary | |
---|---|
java.lang.String |
getName()
Gets the name. |
float |
getSize()
Gets the size. |
java.util.EnumSet<PdfFontStyle> |
getStyle()
Gets the style. |
PdfFontType |
getType()
Gets the type. |
void |
replace(PdfFontBase fontToReplace)
Replaces the specified new font. |
Constructor Detail |
---|
public PdfUsedFont(PdfFontBase font, PdfPageWidget pageWidget)
font
- The font.Method Detail |
---|
public java.lang.String getName()
public float getSize()
public java.util.EnumSet<PdfFontStyle> getStyle()
public PdfFontType getType()
public void replace(PdfFontBase fontToReplace)
fontToReplace
- The new font.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |