private DrawClusterPoints ( |
||
cluster | ||
brush | System.Windows.Media.Brush | |
drawingContext | System.Windows.Media.DrawingContext | |
return | void |
private void DrawClusterPoints(Cluster cluster, Brush brush, DrawingContext drawingContext)
{
foreach (var point in cluster.Points)
{
drawingContext.DrawRectangle(brush, null, new Rect(point.X, point.Y, clusterPointSize, clusterPointSize));
}
}