ImageList.draw

Overview | Methods | This Package | All Packages

ImageList.draw

Draws the specified image.

Syntax

public void draw( Graphics g, Point pt, int index )

public void draw( Graphics g, int x, int y, int index )

Parameters

g

A Graphics object that is used to draw the image.

pt

A Point object that represents the upper-left corner of the bounding rectangle to draw the image in.

x

The x-coordinate of the upper-left corner of the bounding rectangle to draw the image in.

y

The y-coordinate of the upper-left corner of the bounding rectangle to draw the image in.

index

The zero-based index of the image to draw.