public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { DarkMarbel s = (DarkMarbel)obj; info.AddValue("Brush", s._brush); info.AddValue("ShadowLength", s._shadowLength); }
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); }
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); }
public void CopyFrom(DarkMarbel from) { if (object.ReferenceEquals(this, from)) { return; } _shadowLength = from._shadowLength; Brush = from._brush; }
public void CopyFrom(DarkMarbel from) { this.Brush = from._brush; }
public DarkMarbel(DarkMarbel from) { CopyFrom(from); }
public DarkMarbel(DarkMarbel from) { CopyFrom(from); }
public void CopyFrom(DarkMarbel from) { this.Brush = from._brush; }
public void CopyFrom(DarkMarbel from) { if (object.ReferenceEquals(this, from)) return; this._shadowLength = from._shadowLength; this.Brush = from._brush; }