Package com.itextpdf.kernel.pdf
Class DefaultFontStrategy
java.lang.Object
com.itextpdf.kernel.pdf.DefaultFontStrategy
- Direct Known Subclasses:
-
PdfADefaultFontStrategy
The class defines a default font strategy for
PdfDocument
which is used in the scope of PdfDocument.getDefaultFont()
.
-
Constructor Summary
ConstructorDescriptionDefaultFontStrategy
(PdfDocument pdfDocument) Instantiates a new instance ofDefaultFontStrategy
which will be used for passedPdfDocument
instance. -
Method Summary
-
Constructor Details
-
DefaultFontStrategy
Instantiates a new instance ofDefaultFontStrategy
which will be used for passedPdfDocument
instance.- Parameters:
-
pdfDocument
- the pdf document for which the strategy will be used to
-
-
Method Details
-
getFont
Gets default font.- Returns:
-
the
PdfFont
instance
-