Example #1
0
            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);
            }
Example #2
0
 /// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="from">The style to copy from.</param>
 public DataMeshPlotStyle(DataMeshPlotStyle from)
 {
     InitializeMembers();
     CopyFrom(from);
 }
Example #3
0
		/// <summary>
		/// Copy constructor.
		/// </summary>
		/// <param name="from">The style to copy from.</param>
		public DataMeshPlotStyle(DataMeshPlotStyle from)
		{
			InitializeMembers();
			CopyFrom(from);
		}