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.

For an usage example, check the Annotation Tracks notebook.

Parameters

as Required
TODO
field Required
TODO
fontSize Required
TODO

Example

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