Example #1
0
            public DensityLegendArea(DensityLegendArea from)
            {
                _size = from._size;

                _scales = from._scales.Clone();
                _scales.ParentObject = this;

                _coordinateSystem = (CS.G2DCartesicCoordinateSystem)from._coordinateSystem.Clone();
                _coordinateSystem.ParentObject = this;
            }
Example #2
0
 public DensityLegendArea(PointD2D size, bool isXYInterchanged, bool isXReversed, Scale scale, TickSpacing tickSpacing)
 {
     _size   = size;
     _scales = new ScaleCollection()
     {
         ParentObject = this
     };
     _scales[0]        = scale;
     scale.TickSpacing = tickSpacing;
     _scales[1]        = new LinearScale()
     {
         TickSpacing = new NoTickSpacing()
     };
     _coordinateSystem = new Altaxo.Graph.Gdi.CS.G2DCartesicCoordinateSystem()
     {
         ParentObject = this
     };
     _coordinateSystem.IsXYInterchanged = isXYInterchanged;
     _coordinateSystem.IsXReverse       = isXReversed;
     _coordinateSystem.UpdateAreaSize(_size);
 }
Example #3
0
			public DensityLegendArea(DensityLegendArea from)
			{
				this._size = from._size;

				this._scales = from._scales.Clone();
				this._scales.ParentObject = this;

				this._coordinateSystem = (CS.G2DCartesicCoordinateSystem)from._coordinateSystem.Clone();
				this._coordinateSystem.ParentObject = this;
			}
Example #4
0
			public DensityLegendArea(PointD2D size, bool isXYInterchanged, bool isXReversed, Scale scale, TickSpacing tickSpacing)
			{
				_size = size;
				_scales = new ScaleCollection() { ParentObject = this };
				_scales[0] = scale; scale.TickSpacing = tickSpacing;
				_scales[1] = new LinearScale() { TickSpacing = new NoTickSpacing() };
				_coordinateSystem = new Altaxo.Graph.Gdi.CS.G2DCartesicCoordinateSystem() { ParentObject = this };
				_coordinateSystem.IsXYInterchanged = isXYInterchanged;
				_coordinateSystem.IsXReverse = isXReversed;
				_coordinateSystem.UpdateAreaSize(_size);
			}