Пример #1
0
        public override void ReadXml(System.Xml.XmlReader reader)
        {
            reader.ReadAttrAsString("TextureId", ref this.TextureId);
            reader.ReadAttrAsEnum <XImageStretchMode>("StretchMode", ref this.StretchMode);
            reader.ReadAttrAsEnum <XFlipEffects>("FlipEffects", ref this.FlipEffects);

            base.ReadXml(reader);
        }
Пример #2
0
        public override void ReadXml(System.Xml.XmlReader reader)
        {
            this.Target   = reader["Target"];
            this.From     = reader["From"];
            this.To       = reader["To"];
            this.Duration = reader["Duration"];
            this.IsDelta  = reader.ReadAttrAsBoolean("IsDelta");
            reader.ReadAttrAsEnum <CurveTangent>("Smoothing", ref this.Smoothing);
            this.Autoreverse = reader.ReadAttrAsBoolean("Autoreverse");
            reader.ReadAttrAsEnum <XAnimationFillBehavior>("Fill", ref this.Fill);
            reader.ReadAttrAsBoolean("EnableTrace", ref this.EnableTrace);

            base.ReadXml(reader);
        }
Пример #3
0
        public override void ReadXml(System.Xml.XmlReader reader)
        {
            reader.ReadAttrAsString("Value", ref this.Value);
            reader.ReadAttrAsEnum <XValueComparison>("Compare", ref this.Compare);

            base.ReadXml(reader);
        }
Пример #4
0
        public override void ReadXml(System.Xml.XmlReader reader)
        {
            this.Time  = reader["Time"];
            this.Value = reader["Value"];
            reader.ReadAttrAsEnum <CurveTangent>("Smoothing", ref this.Smoothing);

            base.ReadXml(reader);
        }
Пример #5
0
        public override void ReadXml(System.Xml.XmlReader reader)
        {
            reader.ReadAttrAsColor("Color", ref this.Color);
            this.Text   = reader["Text"];
            this.FontId = reader["FontId"];
            reader.ReadAttrAsEnum <XFlipEffects>("FlipEffects", ref this.FlipEffects);

            base.ReadXml(reader);
        }
Пример #6
0
        public override void ReadXml(System.Xml.XmlReader reader)
        {
            reader.ReadAttrAsEnum <XEdgeType>("Edges", ref this.Edges);

            base.ReadXml(reader);
        }