Svg Rectangle
Generate an rectangle to be appended to a SVG canvas
Description
Generate an rectangle to be appended to a SVG canvas
Inputs
- x (Number): X Coordinates of the top left corner of the rectangle
- y (Number): Y Coordinates of the top left corner of the rectangle
- width (Number): Width of the rectangle
- height (Number): Height of the rectangle
- rx (Number): Corner Radius on the X axis
- ry (Number): Corner Radius on the Y axis
- fill color (Color): Fill color of the rectangle
- stroke width (Number): Stroke width of the rectangle
- stroke color (Color): Stroke color of the rectangle
Outputs
- rectangle (SVG): The object to append to a SVG canvas