To create a Rectangle or Filled Rectangle vector, select the tool and drag from the upper-left corner to the lower-right corner.
Rectangle and Filled Rectangle vectors have handles at the upper left and lower right that move these corners.
Holding the Shift key down while dragging a rectangle constrains it to a square.
Rectangles are always drawn parallel to the edges of their parent layer.