Draws the subsection of the image specified source and destination parameters.

Namespace:  C1.Web.iPhone
Assembly:  C1.Web.iPhone.Client (in C1.Web.iPhone.Client.dll)

Syntax

JavaScript
function drawImage(image, x, y, w, h, destx, desty, destwidth, destheight);

Parameters

image
Type: System..::..Object
The image.
x
Type: System..::..Int32
The x.
y
Type: System..::..Int32
The y.
w
Type: System..::..Int32
(optional)The width.
h
Type: System..::..Int32
(optional)The height.
destx
Type: System..::..Int32
(optional)The destx.
desty
Type: System..::..Int32
(optional)The desty.
destwidth
Type: System..::..Int32
(optional)The destwidth.
destheight
Type: System..::..Int32
(optional)The destheight.

See Also