measureText method
The
CanvasRenderingContext2D.measureText()
method returns a TextMetrics object that contains information about the
measured text (such as its width, for example).
Implementation
external TextMetrics measureText(String text);
The
CanvasRenderingContext2D.measureText()
method returns a TextMetrics object that contains information about the
measured text (such as its width, for example).
external TextMetrics measureText(String text);