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();
Inheritance

Constructors

PdfFontFamily()
const

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

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.