Exemplo n.º 1
0
            protected virtual VectorCartesicPlotStyle SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                VectorCartesicPlotStyle s = null != o ? (VectorCartesicPlotStyle)o : new VectorCartesicPlotStyle(info);

                s._meaningOfValues = (ValueInterpretation)info.GetEnum("MeaningOfValues", typeof(ValueInterpretation));

                s._columnX = (IReadableColumnProxy)info.GetValue("ColumnX", s);
                if (null != s._columnX)
                {
                    s._columnX.ParentObject = s;
                }

                s._columnY = (IReadableColumnProxy)info.GetValue("ColumnY", s);
                if (null != s._columnY)
                {
                    s._columnY.ParentObject = s;
                }

                s._columnZ = (INumericColumnProxy)info.GetValue("ColumnZ", s);
                if (null != s._columnZ)
                {
                    s._columnZ.ParentObject = s;
                }

                s._independentSkipFrequency = info.GetBoolean("IndependentSkipFreq");
                s._skipFrequency            = info.GetInt32("SkipFreq");

                s._useManualVectorLength = info.GetBoolean("UseManualVectorLength");
                s._vectorLengthOffset    = info.GetDouble("VectorLengthOffset");
                s._vectorLengthFactor    = info.GetDouble("VectorLengthFactor");

                s._independentSymbolSize = info.GetBoolean("IndependentSymbolSize");
                s._symbolSize            = info.GetDouble("SymbolSize");

                s.Pen = (PenX3D)info.GetValue("Pen", s);
                s._independentColor = info.GetBoolean("IndependentColor");

                s._lineWidth1Offset = info.GetDouble("LineWidth1Offset");
                s._lineWidth1Factor = info.GetDouble("LineWidth1Factor");

                s._lineWidth2Offset = info.GetDouble("LineWidth2Offset");
                s._lineWidth2Factor = info.GetDouble("LineWidth2Factor");

                s._endCapSizeOffset = info.GetDouble("EndCapSizeOffset");
                s._endCapSizeFactor = info.GetDouble("EndCapSizeFactor");

                s._useSymbolGap    = info.GetBoolean("UseSymbolGap");
                s._symbolGapOffset = info.GetDouble("SymbolGapOffset");
                s._symbolGapFactor = info.GetDouble("SymbolGapFactor");

                s._independentOnShiftingGroupStyles = info.GetBoolean("IndependentOnShiftingGroupStyles");

                return(s);
            }
Exemplo n.º 2
0
		public VectorCartesicPlotStyle(VectorCartesicPlotStyle from, bool copyWithDataReferences)
		{
			CopyFrom(from, copyWithDataReferences);
		}
Exemplo n.º 3
0
 public VectorCartesicPlotStyle(VectorCartesicPlotStyle from, bool copyWithDataReferences)
 {
     CopyFrom(from, copyWithDataReferences);
 }
Exemplo n.º 4
0
            public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                VectorCartesicPlotStyle s = SDeserialize(o, info, parent);

                return(s);
            }