Skip to content

Measure Text

The "measureText" transforms measures the length of a string in pixels. The measurement can be used in downstream layout computations.

Parameters

as Required
TODO
field Required
TODO
fontSize Required
TODO

Example

{
  "type": "measureText",
  "fontSize": 11,
  "field": "symbol",
  "as": "_textWidth"
}