measureText method

TextMetrics measureText(
  1. String text
)

Implementation

TextMetrics measureText(String text) =>
    js_util.callMethod(this, 'measureText', [text]);