Rect

returns SVG.Rect which inherits from SVG.Shape

Rects have two arguments, their width and height:

var rect = draw.rect(100, 100)

radius()

returns itself
animate yes

Rects can also have rounded corners:

rect.radius(10)

This will set the rx and ry attributes to 10. To set rx and ry individually:

rect.radius(10, 20)
Fork me on GitHub