Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Visualization/3.2/Legend/LegendItem.cs @ 1610

Last change on this file since 1610 was 1342, checked in by shofstad, 16 years ago

Legend implementation updated with position setting (#407)

File size: 423 bytes
Line 
1using System.Drawing;
2
3namespace HeuristicLab.Visualization.Legend {
4  public class LegendItem {
5
6    public static readonly int WIDTH = 100;
7
8    public LegendItem(string label, Color color, int thickness) {
9      Label = label;
10      Color = color;
11      Thickness = thickness;
12    }
13
14    public string Label { get; set; }
15    public Color Color { get; set; }
16    public int Thickness { get; set; }
17  }
18}
Note: See TracBrowser for help on using the repository browser.