Inheritance: SharpVectors.Dom.Svg.SvgColor
        private ArrayList getColors(XmlNodeList stops)
        {
            ArrayList colors = new ArrayList(stops.Count);

            for (int i = 0; i < stops.Count; i++)
            {
                SvgStopElement stop     = (SvgStopElement)stops.Item(i);
                string         prop     = stop.GetPropertyValue("stop-color");
                GdiSvgColor    svgColor = new GdiSvgColor(stop, "stop-color");

                colors.Add(svgColor.Color);
            }

            return(colors);
        }
Ejemplo n.º 2
0
        private ArrayList getColors(XmlNodeList stops)
        {
            ArrayList colors = new ArrayList(stops.Count);
            for(int i = 0; i<stops.Count; i++)
            {
                SvgStopElement stop = (SvgStopElement) stops.Item(i);
                string prop = stop.GetPropertyValue("stop-color");
                GdiSvgColor svgColor = new GdiSvgColor(stop, "stop-color");

                colors.Add(svgColor.Color);
            }

            return colors;
        }