measure_text method

measure_text

Measures the width of the specified text using the current font properties.

Returns

The width of the text.

def measure_text(self, text):
    ...
ParameterTypeDescription
textstrThe text to measure.

See Also