SVGRectangle


Parameters

AttributeDescription
xHorizontal position of rectangle from left margin.
yVertical position of rectangle from top margin.
widthWidth of rectangle.
heightHeight of rectangle.
rxHorizontal radius of ellipse used to round corners of rectangle
ryVertical radius of ellipse used to round corners of rectangle
strokeColour of rectangle border.
stroke-widthWidth of rectangle border.
fillColour inside rectangle border.

Remarks

Detailed information on the SVG 'rect' element can be found in the W3C Recommendation for SVG.