Freetype class

Feetype high level API

Implemented types

Constructors

Freetype({DynamicLibrary? dl, String? dllPath, Allocator allocator = calloc})

Properties

allocator ↔ Allocator
getter/setter pair
binding ↔ FreetypeBinding
getter/setter pair
dylib ↔ DynamicLibrary
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
raw ↔ Pointer<Pointer<FT_LibraryRec_>>
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

free() → void
free memory
newFace(String path, {int faceIndex = 0}) → Face
Open a font file using its pathname. face_index should be 0 if there is only 1 font in the file.
newFaceFromBytes(Uint8List bytes, {int faceIndex = 0}) → Face
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

Static Methods

create({DynamicLibrary? dl, String? dllPath, Allocator allocator = calloc}) → Future<Freetype>