Calculate the width of a string in pixels. Used in the Blocks interface.
drawStrings.width(text: string, fi: FontInfo): number
text: string
Text to measure.fi: FontInfo
FontInfo
object to use when calculating width.
A number
representing the width of the text in pixels.