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-
Type: string
TODO
field
Required-
Type: string (field name)
TODO
fontSize
Required-
Type: number
TODO
Example¶
{
"type": "measureText",
"fontSize": 11,
"field": "symbol",
"as": "_textWidth"
}