get_ascent method

get_ascent

Gets the ascent of the font in points using the specified font size.

Returns

The ascent of the font in points.

def get_ascent(self, font_size):
    ...
ParameterTypeDescription
font_sizefloatThe size of the font.

See Also