Shape ellipse with horizontal lines

Hello, I would like to do a shape with round edges.
shape_Ok

I try to use a shape with roundedRectangle and change parameter1 but i can’t have a real round edges.
shape_NOk

Do you have a solution?

Thanks in advance

In 2.2.18 we added these figures to extensions/RoundedRectangles.js:
“CapsuleH”, “CapsuleV”, and “Capsule”

“Capsule” and “CapsuleH” are synonyms.