aryagraph.style.text.text_width#

aryagraph.style.text.text_width(text: str, size: float, weight: int | str = 400) → float[source]#

Estimated rendered width in pixels of a single line of text at font size.