measureText 方法

TextMetrics measureText(
  1. String text
)

实现

TextMetrics measureText(String text) native;