Example #1
0
 public ClosedSymbolBase WithPlotColorInfluence(PlotColorInfluence value)
 {
     if (_plotColorInfluence == value)
     {
         return(this);
     }
     else
     {
         var result = (ClosedSymbolBase)MemberwiseClone();
         result._plotColorInfluence = value;
         return(result);
     }
 }
        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();
        }
Example #3
0
 private void EhPlotColorInfluenceChanged(PlotColorInfluence obj)
 {
     _doc = _doc.WithPlotColorInfluence(obj);
     _view.ScatterSymbolForPreview = _doc;
 }
Example #4
0
 protected ClosedSymbolBase(NamedColor fillColor, bool isFillColorInfluencedByPlotColor)
 {
     _fillColor          = fillColor;
     _plotColorInfluence = isFillColorInfluencedByPlotColor ? PlotColorInfluence.FillColorFull : PlotColorInfluence.None;
 }
Example #5
0
 IScatterSymbol IScatterSymbol.WithPlotColorInfluence(PlotColorInfluence plotColorInfluence)
 {
     return(WithPlotColorInfluence(plotColorInfluence));
 }
Example #6
0
		IScatterSymbol IScatterSymbol.WithPlotColorInfluence(PlotColorInfluence plotColorInfluence)
		{
			return this;
		}
Example #7
0
		protected ClosedSymbolBase(NamedColor fillColor, bool isFillColorInfluencedByPlotColor)
		{
			_fillColor = fillColor;
			_plotColorInfluence = isFillColorInfluencedByPlotColor ? PlotColorInfluence.FillColorFull : PlotColorInfluence.None;
		}
Example #8
0
		public ClosedSymbolBase WithPlotColorInfluence(PlotColorInfluence value)
		{
			if (_plotColorInfluence == value)
			{
				return this;
			}
			else
			{
				var result = (ClosedSymbolBase)this.MemberwiseClone();
				result._plotColorInfluence = value;
				return result;
			}
		}