private static void TessellateRectangleRoundedCorners(Rectangle rect, List <Geometry> geoms, TessellationOptions tessellationOptions)
        {
            var contour = BuildRectangleContour(rect);
            var shape   = new Shape()
            {
                Contours      = new BezierContour[] { contour },
                PathProps     = rect.PathProps,
                Fill          = rect.Fill,
                FillTransform = rect.FillTransform
            };

            ShapeUtils.TessellateShape(shape, geoms, tessellationOptions, true);
        }