Calculates how much space is needed to display specified text.
Namespace: com.mindfusion.charting
File: com.mindfusion.charting
Java Copy Code |
---|
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.
MindFusion.Charting for Java Programmer's Guide | © 2024 MindFusion |