FontMetrics.width
You're seeing just the function
width
, go back to FontMetrics module for more information.
Specs
width( String.t() | integer() | [integer()], pixels :: number(), metrics :: t(), opts :: Keyword.t() ) :: number()
Measure the width of a string, scaled to a pixel size
Options
Supported options:
:kern
- The default value isfalse
.
returns width