예제 #1
0
 public ClosedSymbolBase WithPlotColorInfluence(PlotColorInfluence value)
 {
     if (_plotColorInfluence == value)
     {
         return(this);
     }
     else
     {
         var result = (ClosedSymbolBase)MemberwiseClone();
         result._plotColorInfluence = value;
         return(result);
     }
 }
예제 #2
0
        private void EhPlotColorInfluenceForAllSelected(PlotColorInfluence obj)
        {
            foreach (var node in _currentItems)
            {
                if (node.IsSelected)
                {
                    var item = (IScatterSymbol)node.Tag;
                    node.Tag = item.WithPlotColorInfluence(obj);
                }
            }

            View_CurrentItems_Initialize();
            SetListDirty();
        }
예제 #3
0
 private void EhPlotColorInfluenceChanged(PlotColorInfluence obj)
 {
     _doc = _doc.WithPlotColorInfluence(obj);
     _view.ScatterSymbolForPreview = _doc;
 }
예제 #4
0
 protected ClosedSymbolBase(NamedColor fillColor, bool isFillColorInfluencedByPlotColor)
 {
     _fillColor          = fillColor;
     _plotColorInfluence = isFillColorInfluencedByPlotColor ? PlotColorInfluence.FillColorFull : PlotColorInfluence.None;
 }
예제 #5
0
 IScatterSymbol IScatterSymbol.WithPlotColorInfluence(PlotColorInfluence plotColorInfluence)
 {
     return(WithPlotColorInfluence(plotColorInfluence));
 }
예제 #6
0
파일: NoSymbol.cs 프로젝트: Altaxo/Altaxo
		IScatterSymbol IScatterSymbol.WithPlotColorInfluence(PlotColorInfluence plotColorInfluence)
		{
			return this;
		}
예제 #7
0
		protected ClosedSymbolBase(NamedColor fillColor, bool isFillColorInfluencedByPlotColor)
		{
			_fillColor = fillColor;
			_plotColorInfluence = isFillColorInfluencedByPlotColor ? PlotColorInfluence.FillColorFull : PlotColorInfluence.None;
		}
예제 #8
0
		public ClosedSymbolBase WithPlotColorInfluence(PlotColorInfluence value)
		{
			if (_plotColorInfluence == value)
			{
				return this;
			}
			else
			{
				var result = (ClosedSymbolBase)this.MemberwiseClone();
				result._plotColorInfluence = value;
				return result;
			}
		}