Draws the specified text in the provided layout rectangle with the specified Font and Align.
Namespace: com.mindfusion.charting
File: com.mindfusion.charting
Java Copy Code |
---|
public static void drawText ( |
A Graphics2D instance.
The text to draw.
The layout rectangle here the text will be drawn.
The Font used for the text drawing.
One of the Align enumeration values.
One of the Align enumeration values that specifies the vertical alignment of the text.
A float value. The maximum width the text is allowed to have.