get_font_scale_factor


Description:

[ Version ( since = "1.12" ) ]
public double get_font_scale_factor ()

Returns the scale factor of a matrix on the height of the font.

That is, the scale factor in the direction perpendicular to the vector that the X coordinate is mapped to. If the scale in the X coordinate is needed as well, use get_font_scale_factors.

Parameters:

this

a Matrix, may be null

Returns:

the scale factor of this on the height of the font, or 1.0 if this is null.