Class algebra.specialString
public class specialString extends Words implements Cloneable,
Drawable {}
Field Index:
- String str
- This is the input string that needs to be printed.
- Font f
- Each string has its own font.
Constructor Index:
Method Index:
- String getString()
- This returns the input string.
- Font getFont()
- void nullString()
- This makes the string null.
- Object clone()
- int size( Graphics g )
- This returns the width of the string. We need the graphics object to
compute
- the FontMetrics.
- void draw( Graphics g, integer W, integer H, integer X, integer
Y )
- This draws the string on the canvas ( Mycanvas ).
algebra Package / misc
Package / Making of the project
/ Project Home Page / My
Home Page