OEEstimateTextWidth

OEEstimateTextWidth(text: str, font: OEFont) -> float

Estimates the width of string depicted with a specific style.

text

The string of which width is being estimated.

font

The OEFont object that defines the style of the depiction.

See also