FontMetrics.width

You're seeing just the function width, go back to FontMetrics module for more information.
Link to this function

width(source, pixels, font_metrics, opts \\ [])

View Source

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 is false.

returns width