PdfCjkFontFamily enum
Specifies the type of CJK font.
//Create a new PDF document.
PdfDocument document = PdfDocument()
..pages.add().graphics.drawString(
'こんにちは世界', PdfCjkStandardFont(PdfCjkFontFamily.heiseiMinchoW3, 20),
brush: PdfBrushes.black);
//Save the document.
List<int> bytes = await document.save();
//Close the document.
document.dispose();
Values
- hanyangSystemsGothicMedium → const PdfCjkFontFamily
-
Represents the Hanyang Systems Gothic Medium font.
- hanyangSystemsShinMyeongJoMedium → const PdfCjkFontFamily
-
Represents the Hanyang Systems shin myeong Jo Medium font.
- heiseiKakuGothicW5 → const PdfCjkFontFamily
-
Represents the Heisei kaku GothicW5 font.
- heiseiMinchoW3 → const PdfCjkFontFamily
-
Represents the Heisei MinchoW3 font.
- monotypeHeiMedium → const PdfCjkFontFamily
-
Represents the Monotype Hei Medium font.
- monotypeSungLight → const PdfCjkFontFamily
-
Represents the monotype sung Light font.
- sinoTypeSongLight → const PdfCjkFontFamily
-
Represents the sinotype song light font.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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<
PdfCjkFontFamily> - A constant List of the values in this enum, in order of their declaration.