To draw a rectangle you need to specify the top left corner, the width and the height.

You can see how the coordinates of the top left corner change in in the code as you move the red dot.

You can also adjust the width and the height from the "Config" area.

Attributes for round corners (rx and ry) can also be adjusted. They are optional and the default value is 0.

Ellipse Path