FileDocCategorySizeDatePackage
drawingImages11.javaAPI DocExample985Mon Mar 24 02:01:28 GMT 1997None

drawingImages11

public class drawingImages11 extends Applet

Fields Summary
Image
i
Image
j
Constructors Summary
Methods Summary
public voidinit()

        i = getImage (getDocumentBase(), "rosey.gif");
    
public voidpaint(java.awt.Graphics g)

        g.drawImage (i, 10, 10, this);
        g.drawImage (i, 10, 85, i.getWidth(this)+10, i.getHeight(this)+85,
		i.getWidth(this), i.getHeight(this), 0, 0, this);
        g.drawImage (i, 270, 10, i.getWidth(this)+270, i.getHeight(this)*2+10,
		0, 0, i.getWidth(this), i.getHeight(this), Color.gray, this);
        g.drawImage (i, 10, 170, i.getWidth(this)*2+10, i.getHeight(this)+170,
		0, i.getHeight(this)/2, i.getWidth(this)/2, 0, this);