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.

See also

set_stretching.

Contents

  1. 1get_string_width
  2. 1.1Description
  3. 1.2Parameters
  4. 1.3See also