Measures a text taking into consideration the current affine transform of the diagram.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public Dimension measureString ( |
The String to measure.
A Font that will be used to render the text.
This method returns a Dimension object that represents the size of the string text when drawn with the font parameter and the string parameter.