measureText method

  1. @override
PTextMetric measureText(
  1. String text,
  2. PFont font, {
  3. num? pixelRatio,
})
override

Measure the text dimension.

Implementation

@override
PTextMetric measureText(String text, PFont font, {num? pixelRatio}) {
  var m = _measureTextImpl(text, font);
  return m;
}