Host Graphics Now
Drawing Text
John's Home Page

Text
The following method of the Cartesian class draws text beginning at (x1, y1):
void Text (C_Point LL, String Words);
To draw the string "Hello, World" at (10, 30), call
C_Point Position = new C_Point (10, 30);
Canvas.Text (Position, "Hello, World");
Your browser does not support Java applets
Text Demo 1
Demo Applet Source:
Text Demo 1 Source
See Also:
Cartesian Points
Cartesian Class

Cartesian Index
Go To Graphics Now Home Page
©1999, J.H.Young E-Mail Me

1