MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / CharMetrics

Class CharMetrics

lib/matplotlib/_afm.py:180–192  ·  view source on GitHub ↗

Represents the character metrics of a single character. Notes ----- The fields do currently only describe a subset of character metrics information defined in the AFM standard.

Source from the content-addressed store, hash-verified

178
179
180class CharMetrics(NamedTuple):
181 """
182 Represents the character metrics of a single character.
183
184 Notes
185 -----
186 The fields do currently only describe a subset of character metrics
187 information defined in the AFM standard.
188 """
189
190 width: float
191 name: str
192 bbox: tuple[int, int, int, int]
193
194
195CharMetrics.width.__doc__ = """The character width (WX)."""

Callers 1

_parse_char_metricsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…