コード例 #1
0
ファイル: SolidFill.cs プロジェクト: yzqlwt/Swf2XNA
        public void ReadXml(System.Xml.XmlReader r)
        {
            string s = r.GetAttribute("Color");

            Color.FromString(s);
            r.Read();
        }
コード例 #2
0
        public void ReadXml(System.Xml.XmlReader r)
        {
            string s  = r.GetAttribute("Color");
            string lw = r.GetAttribute("LineWidth");

            Color.FromString(s);
            LineWidth = float.Parse(lw, NumberStyles.Any);
            r.Read();
        }