private static bool CheckInvalidGradientPaintServer(SvgGradientPaintServer paintServer, PdfSpotColor spotColorInk, out Color color)
            {
                color = null;

                switch (paintServer.Stops.Count)
                {
                case 0:
                    return(true);

                case 1:
                    color = paintServer.Stops[0].Color.ToPdfColor(spotColorInk);
                    return(true);
                }

                return(false);
            }
 public virtual void VisitGradientPaintServer(SvgGradientPaintServer paintServer)
 => DefaultVisit(paintServer);