Method createImage(int width, int height)
Return type:
java.awt.Image
Member of:
java.awt.Component
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
Image img = createImage( 10, 10 );
2
BufferedImage bi = (BufferedImage) this.createImage(d.width, d.height);
3
sprite.scratchImage = createImage ( sprite.w + 1, sprite.h + 1 );
4
iImage=createImage(iWidth,iHeight);
5
Image img2 = createImage(width, height);
6
im = createImage(width, height);
7
offscreenImage = createImage ( getSize ( ).width, getSize ( ).height );
8
BufferedImage b = (BufferedImage)createImage(dim.width, dim.height);
9
BufferedImage image = (BufferedImage)c.createImage(w, h);
10
img[0] = createImage( width, height );
11
gifImage= createImage(w,h);
12
Image image = createImage(getWidth(), getHeight());
13
Image off = createImage(BAR_WIDTH+2*BORDER, BAR_HEIGHT+2*BORDER);
14
Image boardImage=createImage(SIZEX+letterMargin,SIZEY+letterMargin);
15
iImage = createImage(iWidth, iHeight);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.