Creating of a shape by dragging to set it's size.