Transform an existing shape into another