コード例 #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);
 }