Method Draw
Draw(Graphics, int, int, int)
Draws an image on the specified graphic surface at the location specified by a coordinate pair.
public void Draw(Graphics g, int x, int y, int index)
Parameters
g
GraphicsThe Graphics object to draw on.
x
intX-coordinate of the upper-left corner of the image to be drawn.
y
intY-coordinate of the upper-left corner of the image to be drawn.
index
intIndex of image to draw within image list.
Draw(Graphics, double, double, int)
public void Draw(Graphics g, double x, double y, int index)