Beispiel #1
0
            public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
            {
                DarkMarbel s = (DarkMarbel)obj;

                info.AddValue("Brush", s._brush);
                info.AddValue("ShadowLength", s._shadowLength);
            }
Beispiel #2
0
            public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                DarkMarbel s = null != o ? (DarkMarbel)o : new DarkMarbel();

                s.Brush         = (BrushX)info.GetValue("Brush", parent);
                s._shadowLength = (float)info.GetDouble();

                return(s);
            }
Beispiel #3
0
            public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                DarkMarbel s = null != o ? (DarkMarbel)o : new DarkMarbel();

                s.Brush         = new BrushX((NamedColor)info.GetValue("Color", s));
                s._shadowLength = info.GetDouble();

                return(s);
            }
Beispiel #4
0
        public void CopyFrom(DarkMarbel from)
        {
            if (object.ReferenceEquals(this, from))
            {
                return;
            }

            _shadowLength = from._shadowLength;
            Brush         = from._brush;
        }
Beispiel #5
0
 public void CopyFrom(DarkMarbel from)
 {
   this.Brush = from._brush;
   
 }
Beispiel #6
0
 public DarkMarbel(DarkMarbel from)
 {
   CopyFrom(from);
 }
Beispiel #7
0
 public DarkMarbel(DarkMarbel from)
 {
     CopyFrom(from);
 }
Beispiel #8
0
 public void CopyFrom(DarkMarbel from)
 {
     this.Brush = from._brush;
 }
Beispiel #9
0
		public void CopyFrom(DarkMarbel from)
		{
			if (object.ReferenceEquals(this, from))
				return;

			this._shadowLength = from._shadowLength;
			this.Brush = from._brush;
		}