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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|