PdfFontFamily enum
Indicates type of standard PDF fonts.
//Create a new PDF document.
PdfDocument document = PdfDocument()
..pages.add().graphics.drawString(
'Hello world!', PdfStandardFont(PdfFontFamily.helvetica, 12),
brush: PdfBrushes.black);
//Save the document.
List<int> bytes = await document.save();
//Close the document.
document.dispose();
Values
- helvetica → const PdfFontFamily
-
Represents the Helvetica font.
- courier → const PdfFontFamily
-
Represents the Courier font.
- timesRoman → const PdfFontFamily
-
Represents the Times Roman font.
- symbol → const PdfFontFamily
-
Represents the Symbol font.
- zapfDingbats → const PdfFontFamily
-
Represents the ZapfDingbats font.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
PdfFontFamily> - A constant List of the values in this enum, in order of their declaration.