MindFusion.Charting for Java Programmer's Guide |
TextRenderer.measureText Method |
See Also |
![]() ![]() |
Calculates how much space is needed to display specified text.
Namespace: com.mindfusion.charting
File: com.mindfusion.charting
Java
![]() |
---|
public static XDimension2D.Double measureText ( |
The text to measure.
The maximum width available.
A Font instance.
A Graphics2D where the text will be rendered.
A XDimension2D.Double instance containing measured size.
© 2022 MindFusion |