PMFontReader class

This class contains all the code required to read the contents of a .ttf file.

Constructors

PMFontReader()

Properties

font PMFont
getter/setter pair
fontData ↔ dynamic
getter/setter pair
hashCode int
The hash code for this object.
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
parseTTF(dynamic path) Future<PMFont>
Use this method to convert a .ttf file into a PMFont object. It expects you to pass the path of the .ttf file as its only argument.
parseTTFAsset(ByteData data) PMFont
Use this method to convert a .ttf file you have in your assets folder into a PMFont object.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited