FontMetrics class

Metrics of the font.

Constructors

FontMetrics(double ascent, double descent, int linegap, double height, double superscriptfactor, double subscriptfactor)
Initialize the font Metrics class with the parameters.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getHeight(Font format) double
Returns height taking into consideration font's size.
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