JAVA
by
ArguS academy
COMMAND FOR GRAPHICS PROGRAMMING
drawLine()=draws straight line
drawOval()= draw a hollow oval
drawPolygon()=draw hollow polygon
drawRect()=draw hollow rectangle
drawString()=display string
COMMAND FOR GRAPHICS PROGRAMMING
fillArc()=draw a filled arc
fillOval()=draw a filled oval
fillPolygon()=draw a filled polygon
fillRect()=draw a filled rectangle
setColour()= set the drawing color
for loading image: Image img = getImage(getDocumentBase(), "x.gif");
g.drawImage(img, 0, 0, this);