public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { DataMeshPlotStyle s = null != o ? (DataMeshPlotStyle)o : new DataMeshPlotStyle(); s._clipToLayer = info.GetBoolean("ClipToLayer"); s.ColorProvider = (IColorProvider)info.GetValue("Colorization", s); s.ColorScale = (NumericalScale)info.GetValue("ColorScale", s); s._material = (IMaterial)info.GetValue("Material", s); return(s); }
/// <summary> /// Copy constructor. /// </summary> /// <param name="from">The style to copy from.</param> public DataMeshPlotStyle(DataMeshPlotStyle from) { InitializeMembers(); CopyFrom(from); }
/// <summary> /// Copy constructor. /// </summary> /// <param name="from">The style to copy from.</param> public DataMeshPlotStyle(DataMeshPlotStyle from) { InitializeMembers(); CopyFrom(from); }