Sign In

$measureText

Returns text metrics that contain information about the measured text (such as its width, for example)

v1.0.0+ Optional Brackets

Usage

$measureText[;;;]

Arguments

NameTypeRequiredDescription
canvas
StringNoName of the canvas
text
StringYesThe text to measure
font
StringYesThe font
property
NoThe measured text's TextMetrics property to return

Was this page helpful?