FontMetrics constructor
FontMetrics()
Initialize the font Metrics class with the parameters.
Implementation
FontMetrics(
double ascent,
double descent,
int linegap,
double height,
double superscriptfactor,
double subscriptfactor,
) {
_ascent = ascent;
_descent = descent;
_lineGap = linegap;
_height = height;
_superscriptSizeFactor = superscriptfactor;
_subScriptSizeFactor = subscriptfactor;
}