Rectangle API

jsav.g.rect(x, y, w, h[, r, properties])

Initializes a new rectangle with upper left corner at x, y and given width and height. Optional parameter r can be used to specify the roundness of corners. Optional parameter properties, if given, should be an object with key-value pairs. See raphael.attr for valid keys and values.

.width([w])

Gets or sets the width of the rectangle.

.height()

Gets or sets the height of the rectangle.