Adds a rectangle.

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

Syntax

JavaScript
function rect(x, y, width, height);

Parameters

x
Type: System..::..Int32
The x.
y
Type: System..::..Int32
The y.
width
Type: System..::..Single
The width.
height
Type: System..::..Single
The height.

See Also