public class Image
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
draw(int _x,
int _y)
Draws the image so that its upper left hand corner is at the specified position,
relative to the upper left hand corner of the canvas.
|
int |
height()
This method return the height of the image.
|
int |
width()
This method return the width of the image.
|
public void draw(int _x, int _y)
_x
- the x value of drawing position_y
- the y value of drawing positionpublic int width()
public int height()