x screen coordinate to draw the text
@param y the y screen coordinate to draw the text
@return The right-edge of x coordinate to draw next text.
str is null.
@see java.awt.Graphics#drawBytes
@see java.awt.Graphics#drawChars
String, using the current text attribute state in the Graphics2D context. The baseline of the first character is at position (x, y) in the User Space. The rendering attributes applied include the Clip, Transform, Paint, Font and Composite attributes. For characters in script systems such as Hebrew and Arabic, the glyphs can be rendered from right to left, in which case the coordinate supplied is the location of the leftmost character on the baseline.
@param str the string to be rendered
@param x the x coordinate of the location where theString should be rendered
@param y the y coordinate of the location where theString should be rendered
@throws NullPointerException if str is null
@see java.awt.Graphics#drawBytes
@see java.awt.Graphics#drawChars
@since JDK1.0
String using the current font and color. The x,y position is the position of the anchor point. See anchor points.
@param str the String to be drawn
@param x the x coordinate of the anchor point
@param y the y coordinate of the anchor point
@param anchor the anchor point for positioning the text
@throws NullPointerException if str is null
@throws IllegalArgumentException if anchor is not a legal value
@see #drawChars(char[],int,int,int,int,int)
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |