Share via


Graphics.drawString

Class Overview | Class Members | This Package | All Packages

Syntax

public abstract void drawString( String str**, int** x**, int** y )

Parameters
  • str
    the string to be drawn.
  • x
    the x coordinate.
  • y
    the y coordinate.
Description

Draws the text given by the specified string, using this graphics context's current font and color. The baseline of the first character is at position (xy) in this graphics context's coordinate system.

See Also

drawBytes, drawChars