Gets the size of the specified string.
Namespace: MindFusion.Drawing
File: Graphics.js
SyntaxJavaScript
Copy Code
|
|---|
function measureString (text, font, [width]) |
The string to measure.
The font to use.
The maximum width.
The size of the given string when drawn with the given font.
See Also