GetNext() public method

public GetNext ( ) : Brush
return System.Drawing.Brush
Beispiel #1
0
 public override void Paint(Graphics g)
 {
     g.ScaleTransform(this.zoomFactor, this.zoomFactor);
     var brushSwitcher = new BrushSwitcher();
     foreach (var cluster in this.dataSource.CurrentValue.Clusters)
     {
         this.DrawClusterPoints(cluster, g, brushSwitcher.GetNext());
         this.DrawCenter(cluster, g);
     }
 }
Beispiel #2
0
        public override void Paint(Graphics g)
        {
            g.ScaleTransform(this.zoomFactor, this.zoomFactor);
            var brushSwitcher = new BrushSwitcher();

            foreach (var cluster in this.dataSource.CurrentValue.Clusters)
            {
                this.DrawClusterPoints(cluster, g, brushSwitcher.GetNext());
                this.DrawCenter(cluster, g);
            }
        }