black, blue, cyan, darkGray, gray, lightGray, magenta, orange, pink, red, white, yellowThe default color is black.
class Font { dj String name; dj int size > 0; dj int style in 0..3; }Font names have the following domain: ``Dialog'', ``Courier'', ''TimesRoman'', ''Helvetica'', ''ZapfDingbats'', ''DialogInput''. The default value for font names is the default font name used by Java for applets. For font style attributes, the following constants can be used.
PLAIN = 0 BOLD = 1 ITALIC =2 BOLD+ITALIC =3Assigning a value outside of the range 0..3 to a font style will cause an error.
class Dimension { dj int width; dj int height; }
class Point { dj int x; dj int y; }