Font class

Describes a font used by CanvasTerminal.

Constructors

Font(String family, {required int size, required int w, required int h, required int x, required int y})

Properties

charWidth → int
final
family → String
final
hashCode → int
The hash code for this object.
no setterinherited
lineHeight → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
final
x → int
final
y → int
final

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