CCT.NUI.Visual.ClusterLayer.Paint C# (CSharp) Method

Paint() public method

public Paint ( Graphics g ) : void
g System.Drawing.Graphics
return void
        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);
            }
        }