get_string_width.md
April 14, 2015 ยท View on GitHub
get_string_width
self.get_string_width(s: str)
Description
Returns the length of a string in user unit. A font must be selected.
The value is calculated with stretching and spacing.
Parameters
s:
The string whose length is to be computed.