Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 339 Bytes

get_string_width.md

File metadata and controls

20 lines (12 loc) · 339 Bytes

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.

See also

set_stretching.