measureText method

TextMetrics measureText(
  1. String text
)

Implementation

TextMetrics measureText(String text) native;