- Timestamp:
- 03/02/09 22:03:41 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization.Test/LegendForm.cs
r1233 r1240 7 7 public LegendForm() { 8 8 InitializeComponent(); 9 canvasUI.MainCanvas.WorldShape = new WorldShape(new RectangleD(0, 0, 800, 600), new RectangleD(0, 0, 800, 600));10 9 11 10 CreateLegendShape(); … … 13 12 14 13 private void CreateLegendShape() { 15 WorldShape mainShape = canvasUI.MainCanvas.WorldShape;16 14 LegendShape ls = new LegendShape(); 17 15 ls.AddLegendItem(new LegendItem("test", Color.Black, 5)); 18 16 ls.AddLegendItem(new LegendItem("test2", Color.Red, 5)); 19 17 20 mainShape.AddShape(ls);18 canvasUI.Canvas.AddShape(ls); 21 19 } 22 20 }
Note: See TracChangeset
for help on using the changeset viewer.