WidthMethodX extension

Extension on WidthMethod providing string width calculation.

on

Methods

stringWidth(String s) int

Available on WidthMethod, provided by the WidthMethodX extension

Calculates the display width of s using grapheme cluster iteration.