Example #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);
            }
Example #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);
            }
Example #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);
            }
Example #4
0
        public void CopyFrom(DarkMarbel from)
        {
            if (object.ReferenceEquals(this, from))
            {
                return;
            }

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

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