textMetrics top-level property
dynamic
get
textMetrics
The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method.
Implementation
_i2.dynamic get textMetrics => _i4.getProperty(
_self,
'TextMetrics',
);