예제 #1
0
 public void Draw(Graphics graphics, TagCloudElement element)
 {
     graphics.DrawString(element.WordValue,
                         element.Font,
                         new SolidBrush(element.Color),
                         element.Rectangle);
 }
예제 #2
0
 public void Draw(Graphics graphics, TagCloudElement element)
 {
     graphics.DrawRectangle(new Pen(element.Color), element.Rectangle);
 }