Convert Circle to ShapeContour with a number of segments equal to segments
the number of segments, at least 4
Convert Ellipse to ShapeContour with a number of segments equal to segments