Table of Contents

Method Draw

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Draw(Graphics, float, float, int)

Draws an image on the specified graphic surface at the location specified by a coordinate pair.

public virtual bool Draw(Graphics g, float x, float y, int index)

Parameters

g Graphics

The Graphics object to draw on.

x float

X-coordinate of the upper-left corner of the image to be drawn.

y float

Y-coordinate of the upper-left corner of the image to be drawn.

index int

Index of image to draw within image list.

Returns

bool